mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
docker: trim compose override example
This commit is contained in:
@@ -9,17 +9,13 @@ services:
|
|||||||
chatmail:
|
chatmail:
|
||||||
volumes:
|
volumes:
|
||||||
## Data paths — bind-mount to host directories for easy access/backup.
|
## Data paths — bind-mount to host directories for easy access/backup.
|
||||||
## These override the named volumes in the base docker-compose.yaml.
|
|
||||||
# - ./data/mail:/home/vmail
|
|
||||||
# - ./data/dkim:/etc/dkimkeys
|
# - ./data/dkim:/etc/dkimkeys
|
||||||
# - ./data/certs:/var/lib/acme
|
# - ./data/certs:/var/lib/acme
|
||||||
|
|
||||||
|
# - ./data/mail:/home/vmail
|
||||||
## Or mount from an existing bare-metal install.
|
## Or mount from an existing bare-metal install.
|
||||||
## Note: DKIM key ownership is fixed automatically on startup
|
|
||||||
## (the host's opendkim UID may differ from the container's).
|
|
||||||
# - /home/vmail:/home/vmail
|
# - /home/vmail:/home/vmail
|
||||||
# - /etc/dkimkeys:/etc/dkimkeys
|
|
||||||
# - /var/lib/acme:/var/lib/acme
|
|
||||||
|
|
||||||
## Mount your own chatmail.ini (skips auto-generation):
|
## Mount your own chatmail.ini (skips auto-generation):
|
||||||
# - ./chatmail.ini:/etc/chatmail/chatmail.ini
|
# - ./chatmail.ini:/etc/chatmail/chatmail.ini
|
||||||
@@ -32,14 +28,13 @@ services:
|
|||||||
# - ./docker/files/entrypoint.sh:/entrypoint.sh
|
# - ./docker/files/entrypoint.sh:/entrypoint.sh
|
||||||
|
|
||||||
# environment:
|
# environment:
|
||||||
## --- External TLS certificates ---
|
|
||||||
## Mount certs (above) and set TLS_EXTERNAL_CERT_AND_KEY to in-container paths.
|
## Mount certs (above) and set TLS_EXTERNAL_CERT_AND_KEY to in-container paths.
|
||||||
## Changed certs are picked up automatically (inotify via tls-cert-reload.path).
|
## Changed certs are picked up automatically (inotify via tls-cert-reload.path).
|
||||||
##
|
##
|
||||||
## Host acmetool (bare-metal migration) — also add volume:
|
## Host acmetool (bare-metal migration): create mount above, and
|
||||||
## - /var/lib/acme/live:/var/lib/acme/live:ro
|
## rsync -a /var/lib/acme/live data/certs
|
||||||
# TLS_EXTERNAL_CERT_AND_KEY: "/var/lib/acme/live/${MAIL_DOMAIN}/fullchain /var/lib/acme/live/${MAIL_DOMAIN}/privkey"
|
# TLS_EXTERNAL_CERT_AND_KEY: "/var/lib/acme/live/${MAIL_DOMAIN}/fullchain /var/lib/acme/live/${MAIL_DOMAIN}/privkey"
|
||||||
##
|
##
|
||||||
## Traefik certs-dumper (see docker/docker-compose-traefik.yaml) — also add volume:
|
## (Untested) Traefik certs-dumper (see docker/docker-compose-traefik.yaml) - also add volume:
|
||||||
## - traefik-certs:/certs:ro
|
## - traefik-certs:/certs:ro
|
||||||
# TLS_EXTERNAL_CERT_AND_KEY: "/certs/${MAIL_DOMAIN}/certificate.crt /certs/${MAIL_DOMAIN}/privatekey.key"
|
# TLS_EXTERNAL_CERT_AND_KEY: "/certs/${MAIL_DOMAIN}/certificate.crt /certs/${MAIL_DOMAIN}/privatekey.key"
|
||||||
|
|||||||
Reference in New Issue
Block a user