Working with a test app in dev mode
This commit is contained in:
parent
6645a01ed1
commit
b201c88981
@ -14,6 +14,12 @@ services:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.traefik.rule=Host(`localhost`)"
|
||||
- "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
|
||||
- "traefik.http.routers.traefik.entrypoints=web"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
|
||||
whoami:
|
||||
image: containous/whoami
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.whoami.rule=Host(`whoami.localhost`)"
|
||||
|
@ -6,3 +6,4 @@ services:
|
||||
image: "traefik:v2.2"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:8080"
|
||||
|
Reference in New Issue
Block a user