Ver código fonte

feat(compose): add whoami template

xcad 6 meses atrás
pai
commit
f3040ec386

+ 1 - 0
docker-compose/whoami/README.md

@@ -0,0 +1 @@
+# TODO: ...

+ 18 - 0
docker-compose/whoami/docker-compose.yml

@@ -0,0 +1,18 @@
+version: '3'
+
+networks:
+  frontend:
+    external: true
+
+services:
+  whoami:
+    image: traefik/whoami
+    container_name: whoami
+    networks:
+      - frontend
+    labels:
+      - 'traefik.enable=true'
+      - 'traefik.http.routers.public.rule=Host(`your-domain.com`)'
+      - 'traefik.http.routers.public.entrypoints=websecure'
+      - 'traefik.http.routers.public.tls=true'
+    restart: unless-stopped