netowrk
This commit is contained in:
parent
11f4b95c26
commit
5e521f5770
1 changed files with 7 additions and 1 deletions
|
@ -27,6 +27,8 @@ services:
|
|||
- "./letsencrypt:/letsencrypt"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
restart: always
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
whoami:
|
||||
image: "traefik/whoami"
|
||||
|
@ -37,3 +39,7 @@ services:
|
|||
- "traefik.http.routers.whoami.rule=Host(`{{ inventory_hostname }}`)"
|
||||
- "traefik.http.routers.whoami.entrypoints=websecure"
|
||||
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
|
|
Loading…
Reference in a new issue