diff --git a/docker-compose.yml b/docker-compose.yml index 6b783ee..c52c807 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,15 @@ services: - "./prometheus.yml:/etc/prometheus/prometheus.yml" phpfpm: - image: docker-php + image: hipages/php ports: - "9000:9000" environment: PHP_FPM_PM_STATUS_PATH: "/status" + + exporter: + image: hipages/php-fpm_exporter:0.0.3 + ports: + - "9253:9253" + environment: + PHP_FPM_SCRAPE_URI: "tcp://phpfpm:9000/status"