Jafner.net/homelab/fighter/config/traefik/docker-compose.yml
Joey Hafner 676da8dca3
#2 Move age files to homelab/.sops/
Separate "authors" keys and "deploy" keys.
Add features to setup, encrypt, and decrypt scripts:
- Validate input arguments
- Set age keyfile and recipients dynamically at runtime
2024-08-14 14:26:52 -07:00

28 lines
585 B
YAML

services:
traefik:
image: traefik:latest
container_name: traefik_traefik
restart: "no"
networks:
web:
ipv4_address: 172.20.0.10
monitoring:
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yaml:/traefik.yaml
- ./config:/config
- $DOCKER_DATA/acme.json:/acme.json
- $DOCKER_DATA/acme-dns01.json:/acme-dns01.json
environment:
- CF_DNS_API_TOKEN=${traefik_CF_DNS_API_TOKEN}
networks:
web:
external: true
monitoring:
external: true