mirror of
https://github.com/chatmail/relay.git
synced 2026-05-12 17:14:36 +00:00
USE_FOREIGN_CERT_MANAGER existed in compose/example.env but was never read by any code. This wires it up end-to-end based on PR 662. - Preliminarily add config options for this, and skip AcmetoolDeployer if set. - Add Traefik integration in docker/docker-compose-traefik.yaml, with traefik-certs-dumper - post-hook.sh creates fullchain/privkey symlinks for chatmail - Chatmail container uses ports 25/143/465/587/993 directly, Traefik handles 80/443 - docker/traefik/ contains config.yaml and dynamic configs - docker/example-traefik.env for the Traefik setup - rename USE_FOREIGN_CERT_MANAGER to CHATMAIL_NOACME
31 lines
554 B
YAML
31 lines
554 B
YAML
log:
|
|
level: INFO
|
|
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: websecure
|
|
permanent: true
|
|
websecure:
|
|
address: ":443"
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
file:
|
|
directory: /dynamic/conf
|
|
watch: true
|
|
|
|
certificatesResolvers:
|
|
letsEncrypt:
|
|
acme:
|
|
storage: /data/acme.json
|
|
caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
|
tlschallenge: true
|
|
httpChallenge:
|
|
entryPoint: web
|