fix exposition error
This commit is contained in:
parent
b46b368019
commit
6e71b7cb1b
2 changed files with 4 additions and 2 deletions
|
|
@ -5,9 +5,10 @@ services:
|
|||
container_name: traefik
|
||||
image: traefik:v2.2.1
|
||||
command:
|
||||
- --entrypoints.web.address=:80
|
||||
- --providers.docker=true
|
||||
- --providers.docker.exposedbydefault=false
|
||||
- --api.insecure # Don't do that in production
|
||||
- --entrypoints.web.address=:80
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
|
|
@ -16,4 +17,3 @@ services:
|
|||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /srv/hosting/traefik/logs:/logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue