michael-docker/traefik/docker-compose.yaml

16 lines
378 B
YAML

version: "3.3"
services:
traefik:
image: "traefik:v2.0.0"
restart: unless-stopped
command:
- --entrypoints.web.address=192.168.0.97:80
- --providers.docker=true
ports:
- "192.168.0.97:80:80"
- "192.168.0.97:8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./traefik.yml:/etc/traefik/traefik.yml"