config network
This commit is contained in:
parent
d8221806bc
commit
0394aef25f
@ -15,10 +15,16 @@ services:
|
||||
- /volume1/docker/traefik/conf/traefik.yml:/etc/traefik/traefik.yml
|
||||
# So that Traefik can listen to the Docker events
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
|
||||
whoami:
|
||||
# A container that exposes an API to show its IP address
|
||||
image: traefik/whoami
|
||||
labels:
|
||||
- "traefik.http.routers.whoami.rule=path(`/whoami`)"
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user