Mailu 2.0

This commit is contained in:
3wc 2023-09-01 15:34:52 +00:00
parent b7c8617db2
commit 72e965154d
2 changed files with 23 additions and 9 deletions

View File

@ -45,7 +45,7 @@ DISABLE_STATISTICS=True
ADMIN=true ADMIN=true
# Choose which webmail to run if any (values: roundcube, rainloop, none) # Choose which webmail to run if any (values: roundcube, rainloop, none)
WEBMAIL=rainloop WEBMAIL=snappymail
# Dav server implementation (value: radicale, none) # Dav server implementation (value: radicale, none)
WEBDAV=none WEBDAV=none
@ -53,6 +53,9 @@ WEBDAV=none
# Antivirus solution (value: clamav, none) # Antivirus solution (value: clamav, none)
ANTIVIRUS=none ANTIVIRUS=none
# Scan Macros solution (value: true, false)
SCAN_MACROS=true
################################### ###################################
# Mail settings # Mail settings
################################### ###################################
@ -72,6 +75,9 @@ RELAYNETS=
# Will relay all outgoing mails if configured # Will relay all outgoing mails if configured
RELAYHOST= RELAYHOST=
# Enable fetchmail
FETCHMAIL_ENABLED=False
# Fetchmail delay # Fetchmail delay
FETCHMAIL_DELAY=600 FETCHMAIL_DELAY=600

View File

@ -2,7 +2,7 @@ version: "3.8"
x-environment: x-environment:
&default-env &default-env
- HOST_FRONT=${STACK_NAME}_app - FRONT_ADDRESS=${STACK_NAME}_app
- ADMIN - ADMIN
- ANTIVIRUS - ANTIVIRUS
- AUTH_RATELIMIT_IP - AUTH_RATELIMIT_IP
@ -51,7 +51,7 @@ x-environment:
services: services:
app: app:
image: ghcr.io/mailu/nginx:1.9 image: ghcr.io/mailu/nginx:2.0.16
logging: logging:
driver: json-file driver: json-file
networks: networks:
@ -91,39 +91,47 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=0.2.1+1.9" - "coop-cloud.${STACK_NAME}.version=0.2.1+1.9"
db: db:
image: redis:alpine image: redis:alpine
volumes: volumes:
- "redis:/data" - "redis:/data"
admin: admin:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}admin:1.9 image: ghcr.io/mailu/admin:2.0.16
environment: *default-env environment: *default-env
healthcheck: healthcheck:
disable: true disable: true
volumes: volumes:
- "dkim:/dkim" - "dkim:/dkim"
- "mailu:/data" - "mailu:/data"
networks:
- default
imap: imap:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}dovecot:1.9 image: ghcr.io/mailu/dovecot:2.0.16
environment: *default-env environment: *default-env
volumes: volumes:
- "mail:/mail" - "mail:/mail"
healthcheck: healthcheck:
disable: true disable: true
depends_on:
- app
networks:
- default
smtp: smtp:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}postfix:1.9 image: ghcr.io/mailu/postfix:2.0.16
environment: *default-env environment: *default-env
volumes: volumes:
- "mailqueue:/queue" - "mailqueue:/queue"
healthcheck: healthcheck:
disable: true disable: true
depends_on:
- app
antispam: antispam:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rspamd:1.9 image: ghcr.io/mailu/rspamd:2.0.16
environment: *default-env environment: *default-env
volumes: volumes:
- "rspamd:/var/lib/rspamd" - "rspamd:/var/lib/rspamd"
@ -132,7 +140,7 @@ services:
disable: true disable: true
webmail: webmail:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rainloop:1.9 image: ghcr.io/mailu/webmail:2.0.16
environment: *default-env environment: *default-env
networks: networks:
- default - default