homelab/fighter/config/traefik/docker-compose.yml

26 lines
475 B
YAML

version: "3"
services:
traefik:
image: traefik:latest
container_name: traefik_traefik
restart: "no"
networks:
web:
#ipv4_address: 172.18.0.31
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