5 Commits

Author SHA1 Message Date
536e78d459 chore: publish 1.0.1+2.0.16 release 2023-09-04 16:16:35 +02:00
3wc
826b0269f4 Add API_TOKEN 2023-09-01 20:39:22 +02:00
3wc
3de4147dda chore: publish 1.0.0+2.0.16 release 2023-09-01 15:35:37 +00:00
3wc
72e965154d Mailu 2.0 2023-09-01 15:34:52 +00:00
3wc
b7c8617db2 Rename release notes directory for correctness
(Grumble docs wrong grumble grumble)
2023-07-18 10:19:36 +01:00
4 changed files with 36 additions and 11 deletions

View File

@ -3,6 +3,8 @@ TYPE=mailu
# Main mail domain, NOT main web domain (if they are different)
DOMAIN=example.com
LETS_ENCRYPT_ENV=production
# Run `docker stack ls | grep traefik | cut -f 1 -d " "` on the target machine to get that one
TRAEFIK_STACK_NAME=traefik_example_com
# Custom settings used by certdumper_post.sh and Traefik
WEB_DOMAIN=example.com
@ -45,7 +47,7 @@ DISABLE_STATISTICS=True
ADMIN=true
# Choose which webmail to run if any (values: roundcube, rainloop, none)
WEBMAIL=rainloop
WEBMAIL=snappymail
# Dav server implementation (value: radicale, none)
WEBDAV=none
@ -53,6 +55,9 @@ WEBDAV=none
# Antivirus solution (value: clamav, none)
ANTIVIRUS=none
# Scan Macros solution (value: true, false)
SCAN_MACROS=true
###################################
# Mail settings
###################################
@ -72,6 +77,9 @@ RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
# Enable fetchmail
FETCHMAIL_ENABLED=False
# Fetchmail delay
FETCHMAIL_DELAY=600
@ -147,6 +155,9 @@ LOG_LEVEL=WARNING
# Timezone for the Mailu containers. See this link for all possible values https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Etc/UTC
# Authentication token for API requests
#API_TOKEN=
###################################
# Database settings
###################################

View File

@ -2,9 +2,10 @@ version: "3.8"
x-environment:
&default-env
- HOST_FRONT=${STACK_NAME}_app
- FRONT_ADDRESS=${STACK_NAME}_app
- ADMIN
- ANTIVIRUS
- API_TOKEN
- AUTH_RATELIMIT_IP
- MESSAGE_RATELIMIT
- COMPOSE_PROJECT_NAME
@ -51,7 +52,7 @@ x-environment:
services:
app:
image: ghcr.io/mailu/nginx:1.9
image: ghcr.io/mailu/nginx:2.0.16
logging:
driver: json-file
networks:
@ -90,40 +91,48 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${WEB_DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=0.2.1+1.9"
- "coop-cloud.${STACK_NAME}.version=1.0.1+2.0.16"
db:
image: redis:alpine
volumes:
- "redis:/data"
admin:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}admin:1.9
image: ghcr.io/mailu/admin:2.0.16
environment: *default-env
healthcheck:
disable: true
volumes:
- "dkim:/dkim"
- "mailu:/data"
networks:
- default
imap:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}dovecot:1.9
image: ghcr.io/mailu/dovecot:2.0.16
environment: *default-env
volumes:
- "mail:/mail"
healthcheck:
disable: true
depends_on:
- app
networks:
- default
smtp:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}postfix:1.9
image: ghcr.io/mailu/postfix:2.0.16
environment: *default-env
volumes:
- "mailqueue:/queue"
healthcheck:
disable: true
depends_on:
- app
antispam:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rspamd:1.9
image: ghcr.io/mailu/rspamd:2.0.16
environment: *default-env
volumes:
- "rspamd:/var/lib/rspamd"
@ -132,7 +141,7 @@ services:
disable: true
webmail:
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rainloop:1.9
image: ghcr.io/mailu/webmail:2.0.16
environment: *default-env
networks:
- default
@ -158,7 +167,10 @@ services:
- DOMAIN=$WEB_DOMAIN
volumes:
# Folder, which contains the acme.json
- "traefik_letsencrypt:/traefik"
- type: volume
read_only: true
source: traefik_letsencrypt
target: "/traefik"
# Folder, where cert.pem and key.pem will be written
- "certs:/output"
configs:
@ -176,6 +188,7 @@ volumes:
certs:
mailqueue:
traefik_letsencrypt:
name: "${TRAEFIK_STACK_NAME}_letsencrypt"
external: true
networks:

1
release/1.0.1+2.0.16 Normal file
View File

@ -0,0 +1 @@
this version introduces a new variable TRAEFIK_STACK_NAME