This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/inbucket/docker-stack.yml.j2

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