diff --git a/docker-compose.yml b/docker-compose.yml index 2b8315e..7f1c726 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,13 +2,12 @@ version: '3' services: traefik: - image: traefik:v2.0 - command: --api --providers.docker + image: traefik:v1.7 + command: --api --docker ports: - 8080:8080 volumes: - /var/run/docker.sock:/var/run/docker.sock - - /traefik.toml:/etc/traefik nginx: image: nginx:latest ports: diff --git a/traefik.toml b/traefik.toml index 862f54b..daf111b 100644 --- a/traefik.toml +++ b/traefik.toml @@ -8,3 +8,5 @@ swarmMode = false network = "web" [api] dashboard = true +entryPoint = "traefik" +debug = true \ No newline at end of file