update to 2.4 + add commented options for swarm and accesslog
This commit is contained in:
parent
fcd65d0c27
commit
ed9bc6cdad
@ -10,15 +10,18 @@ version: "3.5"
|
||||
services:
|
||||
traefik:
|
||||
container_name: traefik
|
||||
image: traefik:v2.2
|
||||
image: traefik:v2.4
|
||||
restart: unless-stopped
|
||||
command:
|
||||
- --providers.docker
|
||||
- --providers.docker.defaultrule=Host(`{{ trimPrefix `/` .Name }}.lndo.site`)
|
||||
- --providers.docker.network=traefik
|
||||
# - --providers.docker.swarmMode=true
|
||||
- --api.dashboard=true
|
||||
- --api.insecure=false
|
||||
- --entryPoints.web.address=:80
|
||||
# - --accesslog=true
|
||||
# - --accesslog.format=json
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
ports:
|
||||
|
Loading…
x
Reference in New Issue
Block a user