Преглед изворни кода

traefik tls and exposing of git.playne.au

Jason Playne пре 3 година
родитељ
комит
ca6006386b
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      network/docker-compose.yml

+ 4 - 0
network/docker-compose.yml

@@ -69,6 +69,10 @@ services:
       - "3000:3000"
       - "3000:3000"
     volumes:
     volumes:
       - git_data:/data
       - git_data:/data
+    labels:
+      - traefik.http.routers.git.rule=Host(`git.playne.au`)
+      - traefik.http.routers.git.tls=true
+      - traefik.http.routers.git.tls.certresolver=le
 
 
   nextcloud:
   nextcloud:
     image: nextcloud
     image: nextcloud