ソースを参照

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"
     volumes:
       - 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:
     image: nextcloud