Initial commit with not yet working docker networking
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
16
roles/docker/templates/traefik/traefik.yml
Normal file
16
roles/docker/templates/traefik/traefik.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
## traefik.yml
|
||||
# Entry Points
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
websecure:
|
||||
address: ":443"
|
||||
|
||||
# Docker configuration backend
|
||||
providers:
|
||||
docker:
|
||||
defaultRule: "Host(`{{ '{{' }} trimPrefix `/` .Name {{ '}}' }}.{{ local_domain }}`)"
|
||||
|
||||
# API and dashboard configuration
|
||||
api:
|
||||
insecure: true
|
||||
Reference in New Issue
Block a user