Skip to content

Commit ef731cc

Browse files
committed
examples
1 parent 80dcf84 commit ef731cc

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

examples/fpm-nginx-dhi/docker-compose.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,27 @@ services:
146146
# condition: service_started
147147
# # Test: curl http://127.0.0.1:9113/metrics
148148

149+
# # https://github.com/hipages/php-fpm_exporter
150+
# # (Dockerfile: https://github.com/Tob1as/docker-tools -> php-fpm-exporter.scratch.Dockerfile)
151+
# wsc-php-fpm-exporter:
152+
# image: docker.io/tobi312/tools:php-fpm-exporter # not DHI image, but in scratch image without shell and nobody user
153+
# container_name: wsc-php-fpm-exporter
154+
# restart: unless-stopped
155+
# command:
156+
# - --web.listen-address=:9253
157+
# - --web.telemetry-path=/metrics
158+
# - --phpfpm.scrape-uri=tcp://wsc-php:9001/php_fpm_status
159+
# - --phpfpm.fix-process-count=false
160+
# - --log.level=info
161+
# ports:
162+
# - 127.0.0.1:9253:9253/tcp
163+
# networks:
164+
# - wsc-net
165+
# #- monitoring-net
166+
# depends_on:
167+
# wsc-php:
168+
# condition: service_started
169+
# # Test: curl http://127.0.0.1:9253/metrics
149170

150171
# https://dhi.io/catalog/traefik
151172
# (Docs: https://doc.traefik.io/traefik/ )

0 commit comments

Comments
 (0)