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" image: "traefik:v2.0.0"
restart: unless-stopped restart: unless-stopped
command: command:
- --entrypoints.web.address=:80 - --entrypoints.web.address=192.168.0.97:80
- --providers.docker=true - --providers.docker=true
ports: ports:
- "192.168.0.97:80:80" - "192.168.0.97:80:80"

View File

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