mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Change php-fpm to listen on :9000 to expose prometheus metrics via php-fpm_exporter
This commit is contained in:
parent
c117d8baa1
commit
47072710b2
7 changed files with 48 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
version: '2'
|
||||
services:
|
||||
snappymail:
|
||||
image: leojonathanoh/snappymail:merge
|
||||
image: leojonathanoh/snappymail:pr-1
|
||||
ports:
|
||||
- 8888:8888
|
||||
volumes:
|
||||
|
|
@ -12,6 +12,16 @@ services:
|
|||
- redis-network
|
||||
restart: unless-stopped
|
||||
|
||||
# This provides prometheus metrics for snappymail's php-fpm
|
||||
php-fpm-exporter:
|
||||
image: hipages/php-fpm_exporter:2.2.0
|
||||
ports:
|
||||
- 9253:9253
|
||||
environment:
|
||||
- PHP_FPM_SCRAPE_URI=tcp://snappymail:9000/status
|
||||
networks:
|
||||
- default
|
||||
|
||||
db:
|
||||
image: postgres:15-alpine
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue