Add exporter to docker-compose.yml
This commit is contained in:
parent
76cd02aba3
commit
695caeeb25
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue