update traefik config

This commit is contained in:
rayelliott 2020-05-27 12:58:29 +01:00
parent 7b3576bcbd
commit 30c0e887ef
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ services:
image: "traefik:v2.0.0"
restart: unless-stopped
command:
- --entrypoints.web.address=:80
- --entrypoints.web.address=192.168.0.97:80
- --providers.docker=true
ports:
- "192.168.0.97:80:80"

View File

@ -1,7 +1,7 @@
# Docker configuration backend
providers:
docker:
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.m.home`)"
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.michael.docker`)"
# API and dashboard configuration
api: