Skip to content

Commit

Permalink
Update traefik to v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Oct 29, 2019
1 parent 4498156 commit 2111f0e
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions traefik.yml
@@ -1,24 +1,22 @@
version: '2'
version: '3'

services:
traefik:
image: traefik
restart: unless-stopped
command: -c /dev/null --web --docker --logLevel=DEBUG
image: traefik:v2.0
command: --api.insecure=true --providers.docker
networks:
- project1
- project2
- project1
- project2
ports:
- '80:80'
- '8080:8080'
- '80:80'
- '8080:8080'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock

networks:
project1:
external:
external:
name: project1-dir_default
project2:
external:
name: project2-dir_default

0 comments on commit 2111f0e

Please sign in to comment.