Update docker-compose example

This commit is contained in:
Enrico Stahn 2018-02-20 14:43:24 +11:00
parent cf5fd6de28
commit 54fecfad3b
No known key found for this signature in database
GPG key ID: 5263621C269A50DE
2 changed files with 3 additions and 2 deletions

View file

@ -17,8 +17,9 @@ services:
PHP_FPM_PM_STATUS_PATH: "/status"
exporter:
image: hipages/php-fpm_exporter:0.0.3
image: hipages/php-fpm_exporter:0.0.4
ports:
- "9253:9253"
environment:
PHP_FPM_SCRAPE_URI: "tcp://phpfpm:9000/status"
PHP_FPM_LOG_LEVEL: "debug"

View file

@ -34,4 +34,4 @@ scrape_configs:
scrape_timeout: 1s
static_configs:
- targets: ['phpfpm:9253']
- targets: ['exporter:9253']