ansible-infra/resources/chaosknoten/acmedns/docker_compose/compose.yaml.j2
June 8e5b0083b3
All checks were successful
/ Ansible Lint (push) Successful in 2m18s
fix docker compose services not coming up after reboot
Fix the issue by adding missing restart configuration to docker compose
deployments.
2026-04-02 01:16:08 +02:00

23 lines
577 B
Django/Jinja

---
services:
oauth2-proxy:
container_name: oauth2-proxy
image: quay.io/oauth2-proxy/oauth2-proxy:v7.15.1
command: --config /oauth2-proxy.cfg
hostname: oauth2-proxy
volumes:
- "./configs/oauth2-proxy.cfg:/oauth2-proxy.cfg"
restart: unless-stopped
ports:
- 4180:4180
acmedns:
image: docker.io/joohoi/acme-dns:v2.0.2
ports:
- "[::]:53:53"
- "[::]:53:53/udp"
- 8080:80
volumes:
- ./configs/acmedns.cfg:/etc/acme-dns/config.cfg:ro
- ./data/acmedns:/var/lib/acme-dns
restart: unless-stopped