homelab/fighter/config/traefik/docker-compose.yml
Joey Hafner 494152be66
Some checks are pending
Deploy to Fighter / Deploy (push) Waiting to run
Deploy to Fighter / Notify (push) Waiting to run
Update docker network web to use wider subnet and restricted DHCP pool
2024-03-30 17:53:19 -07:00

26 lines
476 B
YAML

version: '3.9'
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
networks:
web:
external: true
monitoring:
external: true