27 lines
744 B
Django/Jinja
27 lines
744 B
Django/Jinja
# vi: ft=yaml
|
|
version: "3.7"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
kms-server:
|
|
image: inbucket/inbucket
|
|
networks:
|
|
- traefik
|
|
ports:
|
|
- 2500:2500
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- "node.labels.public == true"
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.inbucket.entrypoints=localsecure
|
|
- traefik.http.routers.inbucket.rule=Host(`inbucket.geokunis2.nl`)
|
|
- traefik.http.routers.inbucket.service=inbucket
|
|
- traefik.http.routers.inbucket.tls=true
|
|
- traefik.http.routers.inbucket.tls.certresolver=letsencrypt
|
|
- traefik.docker.network=traefik
|
|
- traefik.http.services.inbucket.loadbalancer.server.port=9000
|