mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-15 20:24:51 +08:00
31 lines
574 B
YAML
31 lines
574 B
YAML
|
version: '2'
|
||
|
services:
|
||
|
snappymail:
|
||
|
image: leojonathanoh/snappymail:pr-1
|
||
|
ports:
|
||
|
- 8888:8888
|
||
|
environment:
|
||
|
- DEBUG=true
|
||
|
volumes:
|
||
|
- snappymail:/var/lib/snappymail
|
||
|
networks:
|
||
|
- default
|
||
|
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
|
||
|
|
||
|
networks:
|
||
|
default:
|
||
|
|
||
|
volumes:
|
||
|
snappymail:
|
||
|
driver: local
|