Add traefik config
This commit is contained in:
parent
a79b771e89
commit
5f6ac397e2
@ -77,6 +77,7 @@ services:
|
|||||||
- 80:80
|
- 80:80
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ./docker/traefik/traefik.toml:/etc/traefik/traefik.toml
|
||||||
networks:
|
networks:
|
||||||
- frontend_net
|
- frontend_net
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
13
docker/traefik/traefik.toml
Normal file
13
docker/traefik/traefik.toml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
debug = false
|
||||||
|
logLevel = "WARN"
|
||||||
|
defaultEntryPoints = ["https", "http"]
|
||||||
|
|
||||||
|
[api]
|
||||||
|
|
||||||
|
[docker]
|
||||||
|
swarmMode = false
|
||||||
|
exposedByDefault = false
|
||||||
|
[entryPoints]
|
||||||
|
[entryPoints.http]
|
||||||
|
address = ":80"
|
||||||
|
|
||||||
Reference in New Issue
Block a user