소스 검색

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