webmail.netig.net/compose.yml
2025-01-14 18:22:17 +01:00

36 lines
810 B
YAML

services:
mariadb:
image: mariadb:latest
container_name: webmailnetignet_mariadb
networks:
- mailserver
env_file:
- .env
- ../passwords/webmailnetignet.pass
volumes:
- ./volumes/mysql:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
roundcube:
image: roundcube/roundcubemail:latest
container_name: webmailnetignet_roundcube
networks:
- mailserver
depends_on:
- mariadb
env_file:
- .env
- ../passwords/webmailnetignet.pass
ports:
- "127.0.0.1:9001:80"
volumes:
- ./volumes/www:/var/www/html
restart: unless-stopped
networks:
mailserver:
external: true