2018-02-18 11:09:37 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
prometheus:
|
|
|
|
image: quay.io/prometheus/prometheus:latest
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
|
|
|
volumes:
|
|
|
|
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
|
|
|
|
|
|
|
|
phpfpm:
|
2018-02-20 02:31:49 +00:00
|
|
|
image: hipages/php
|
2018-02-18 11:09:37 +00:00
|
|
|
ports:
|
|
|
|
- "9000:9000"
|
|
|
|
environment:
|
|
|
|
PHP_FPM_PM_STATUS_PATH: "/status"
|
2018-02-20 02:31:49 +00:00
|
|
|
|
|
|
|
exporter:
|
2018-02-20 03:43:24 +00:00
|
|
|
image: hipages/php-fpm_exporter:0.0.4
|
2018-02-20 02:31:49 +00:00
|
|
|
ports:
|
|
|
|
- "9253:9253"
|
|
|
|
environment:
|
|
|
|
PHP_FPM_SCRAPE_URI: "tcp://phpfpm:9000/status"
|
2018-02-20 03:43:24 +00:00
|
|
|
PHP_FPM_LOG_LEVEL: "debug"
|