This commit is contained in:
venus
2026-04-02 14:25:22 -05:00
parent 529bb27dc8
commit 7ded14f95f
4 changed files with 16 additions and 42 deletions

View File

@@ -1,7 +1,8 @@
# whoami.yml works as a nice tester to check if the network is exposed
services:
whoami:
image: traefik/whoami
container_name: whoami
container_name: whoami-public
restart: unless-stopped
labels:
- "traefik.enable=true"
@@ -10,6 +11,17 @@ services:
- "traefik.http.routers.whoami.tls.certresolver=basic"
networks:
- traefik
whoami-defenk:
image: traefik/whoami
container_name: whoami-vpn
restart: unless-stopped
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.whoami.rule=Host(`10.8.0.1`)"
# - "traefik.http.routers.whoami.entrypoints=websecure"
# # - "traefik.http.routers.whoami.tls.certresolver=basic"
networks:
- traefik
networks:
traefik: