From 8b4983f3faa453a8b64cff306f804f92f1a15e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Sat, 21 Aug 2021 23:17:07 +0200 Subject: [PATCH] Cleanup. Add domain. --- .gitignore | 1 + docker-compose.yaml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55f2a1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gitea/ \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index a640c61..b996cbe 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,6 +3,7 @@ version: "2" networks: web: external: true + services: server: image: gitea/gitea:latest @@ -12,7 +13,7 @@ services: - USER_GID=1001 restart: always networks: - - web + web: volumes: - ./gitea:/data - /home/git/.ssh:/data/git/.ssh @@ -21,6 +22,6 @@ services: labels: traefik.enable: true traefik.http.services.gitea.loadbalancer.server.port: 3000 - traefik.http.routers.gitea.rule: Host(`git.${PUBLIC_DOMAIN}`) || Host(`git.${PRIVATE_DOMAIN}`) + traefik.http.routers.gitea.rule: Host(`git.thomasloven.com`) || Host(`git.${PUBLIC_DOMAIN}`) || Host(`git.${PRIVATE_DOMAIN}`) traefik.http.routers.gitea.middlewares: redir@file traefik.http.routers.gitea.tls.certResolver: le