mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
247
mailu3/docker-compose.yml
Executable file
247
mailu3/docker-compose.yml
Executable file
@@ -0,0 +1,247 @@
|
||||
networks:
|
||||
clamav:
|
||||
driver: bridge
|
||||
default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 192.168.205.0/24
|
||||
driver: default
|
||||
fts_attachments:
|
||||
driver: bridge
|
||||
internal: true
|
||||
oletools:
|
||||
driver: bridge
|
||||
internal: true
|
||||
radicale:
|
||||
driver: bridge
|
||||
webmail:
|
||||
driver: bridge
|
||||
services:
|
||||
admin:
|
||||
depends_on:
|
||||
- redis
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/data:/data
|
||||
- /share/docker_data/mailu3/dkim:/dkim
|
||||
antispam:
|
||||
depends_on:
|
||||
- front
|
||||
- redis
|
||||
- oletools
|
||||
- antivirus
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
hostname: antispam
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- default
|
||||
- oletools
|
||||
- clamav
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/filter:/var/lib/rspamd
|
||||
- /share/docker_data/mailu3/overrides/rspamd:/overrides:ro
|
||||
antivirus:
|
||||
healthcheck:
|
||||
interval: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- kill -0 `cat /tmp/clamd.pid` && kill -0 `cat /tmp/freshclam.pid`
|
||||
timeout: 5s
|
||||
image: ${DOCKER_REGISTRY:-}clamav/clamav-debian:1.2.0-6
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- clamav
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/filter/clamav:/var/lib/clamav
|
||||
fetchmail:
|
||||
depends_on:
|
||||
- admin
|
||||
- smtp
|
||||
- imap
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/data/fetchmail:/data
|
||||
front:
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
extends:
|
||||
file: logging.yml
|
||||
service: ${LOGGING:-syslog}
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
homepage.container: mailu3-front-1
|
||||
homepage.description: eMail server
|
||||
homepage.group: Utilities
|
||||
homepage.href: https://mail.sectorq.eu
|
||||
homepage.icon: ${APPNAME}.png
|
||||
homepage.name: Mailu
|
||||
homepage.server: my-docker
|
||||
homepage.weight: 1
|
||||
|
||||
networks:
|
||||
- default
|
||||
- webmail
|
||||
- radicale
|
||||
ports:
|
||||
- 0.0.0.0:8880:80
|
||||
- 0.0.0.0:8443:443
|
||||
- 0.0.0.0:25:25
|
||||
- 0.0.0.0:465:465
|
||||
- 0.0.0.0:587:587
|
||||
- 0.0.0.0:110:110
|
||||
- 0.0.0.0:995:995
|
||||
- 0.0.0.0:143:143
|
||||
- 0.0.0.0:993:993
|
||||
- 0.0.0.0:4190:4190
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/certs:/certs
|
||||
- /share/docker_data/mailu3/overrides/nginx:/overrides:ro
|
||||
fts_attachments:
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
healthcheck:
|
||||
interval: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- wget -nv -t1 -O /dev/null http://127.0.0.1:9998/tika || exit 1
|
||||
timeout: 5s
|
||||
hostname: tika
|
||||
image: ${DOCKER_REGISTRY:-}apache/tika:2.9.2.1-full
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- fts_attachments
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
imap:
|
||||
depends_on:
|
||||
- front
|
||||
- fts_attachments
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- default
|
||||
- fts_attachments
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/mail:/mail
|
||||
- /share/docker_data/mailu3/overrides/dovecot:/overrides:ro
|
||||
oletools:
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
hostname: oletools
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- oletools
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
redis:
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
image: ${DOCKER_REGISTRY:-}redis:alpine
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/redis:/data
|
||||
resolver:
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: 192.168.205.254
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
smtp:
|
||||
depends_on:
|
||||
- front
|
||||
- resolver
|
||||
dns:
|
||||
- 192.168.205.254
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/mailqueue:/queue
|
||||
- /share/docker_data/mailu3/overrides/postfix:/overrides:ro
|
||||
webdav:
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- radicale
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/dav:/data
|
||||
webmail:
|
||||
depends_on:
|
||||
- front
|
||||
env_file: stack.env
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}webmail:${MAILU_VERSION:-2024.06}
|
||||
labels:
|
||||
wud.watch: true
|
||||
wud.watch.digest: true
|
||||
networks:
|
||||
- webmail
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- /share/docker_data/mailu3/webmail:/data
|
||||
- /share/docker_data/mailu3/overrides/roundcube:/overrides:ro
|
||||
Reference in New Issue
Block a user