Compare commits
3 Commits
1.0.0+2.0.
...
1.0.2+2.0.
Author | SHA1 | Date | |
---|---|---|---|
abd4911a9b | |||
536e78d459 | |||
826b0269f4 |
@ -3,6 +3,8 @@ TYPE=mailu
|
|||||||
# Main mail domain, NOT main web domain (if they are different)
|
# Main mail domain, NOT main web domain (if they are different)
|
||||||
DOMAIN=example.com
|
DOMAIN=example.com
|
||||||
LETS_ENCRYPT_ENV=production
|
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
|
# Custom settings used by certdumper_post.sh and Traefik
|
||||||
WEB_DOMAIN=example.com
|
WEB_DOMAIN=example.com
|
||||||
@ -153,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
|
# 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
|
TZ=Etc/UTC
|
||||||
|
|
||||||
|
# Authentication token for API requests
|
||||||
|
#API_TOKEN=
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Database settings
|
# Database settings
|
||||||
###################################
|
###################################
|
||||||
|
25
compose.yml
25
compose.yml
@ -5,6 +5,7 @@ x-environment:
|
|||||||
- FRONT_ADDRESS=${STACK_NAME}_app
|
- FRONT_ADDRESS=${STACK_NAME}_app
|
||||||
- ADMIN
|
- ADMIN
|
||||||
- ANTIVIRUS
|
- ANTIVIRUS
|
||||||
|
- API_TOKEN
|
||||||
- AUTH_RATELIMIT_IP
|
- AUTH_RATELIMIT_IP
|
||||||
- MESSAGE_RATELIMIT
|
- MESSAGE_RATELIMIT
|
||||||
- COMPOSE_PROJECT_NAME
|
- COMPOSE_PROJECT_NAME
|
||||||
@ -51,7 +52,7 @@ x-environment:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/mailu/nginx:2.0.16
|
image: ghcr.io/mailu/nginx:2.0.23
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
networks:
|
networks:
|
||||||
@ -90,15 +91,15 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${WEB_DOMAIN}`)"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${WEB_DOMAIN}`)"
|
||||||
- "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=1.0.0+2.0.16"
|
- "coop-cloud.${STACK_NAME}.version=1.0.2+2.0.23"
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: redis:alpine
|
image: redis:7.2.0-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- "redis:/data"
|
- "redis:/data"
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
image: ghcr.io/mailu/admin:2.0.16
|
image: ghcr.io/mailu/admin:2.0.23
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
@ -109,7 +110,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
imap:
|
imap:
|
||||||
image: ghcr.io/mailu/dovecot:2.0.16
|
image: ghcr.io/mailu/dovecot:2.0.23
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
volumes:
|
volumes:
|
||||||
- "mail:/mail"
|
- "mail:/mail"
|
||||||
@ -121,7 +122,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: ghcr.io/mailu/postfix:2.0.16
|
image: ghcr.io/mailu/postfix:2.0.23
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
volumes:
|
volumes:
|
||||||
- "mailqueue:/queue"
|
- "mailqueue:/queue"
|
||||||
@ -131,7 +132,7 @@ services:
|
|||||||
- app
|
- app
|
||||||
|
|
||||||
antispam:
|
antispam:
|
||||||
image: ghcr.io/mailu/rspamd:2.0.16
|
image: ghcr.io/mailu/rspamd:2.0.23
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
volumes:
|
volumes:
|
||||||
- "rspamd:/var/lib/rspamd"
|
- "rspamd:/var/lib/rspamd"
|
||||||
@ -140,7 +141,7 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
webmail:
|
webmail:
|
||||||
image: ghcr.io/mailu/webmail:2.0.16
|
image: ghcr.io/mailu/webmail:2.0.23
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
@ -152,7 +153,7 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
certdumper:
|
certdumper:
|
||||||
image: ldez/traefik-certs-dumper:v2.7.4
|
image: ldez/traefik-certs-dumper:v2.8.1
|
||||||
entrypoint: sh -c '
|
entrypoint: sh -c '
|
||||||
apk add jq
|
apk add jq
|
||||||
; while ! [ -e /traefik/production-acme.json ]
|
; while ! [ -e /traefik/production-acme.json ]
|
||||||
@ -166,7 +167,10 @@ services:
|
|||||||
- DOMAIN=$WEB_DOMAIN
|
- DOMAIN=$WEB_DOMAIN
|
||||||
volumes:
|
volumes:
|
||||||
# Folder, which contains the acme.json
|
# 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
|
# Folder, where cert.pem and key.pem will be written
|
||||||
- "certs:/output"
|
- "certs:/output"
|
||||||
configs:
|
configs:
|
||||||
@ -184,6 +188,7 @@ volumes:
|
|||||||
certs:
|
certs:
|
||||||
mailqueue:
|
mailqueue:
|
||||||
traefik_letsencrypt:
|
traefik_letsencrypt:
|
||||||
|
name: "${TRAEFIK_STACK_NAME}_letsencrypt"
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
1
release/1.0.1+2.0.16
Normal file
1
release/1.0.1+2.0.16
Normal file
@ -0,0 +1 @@
|
|||||||
|
this version introduces a new variable TRAEFIK_STACK_NAME
|
Reference in New Issue
Block a user