Cleanup. Add domain.
This commit is contained in:
parent
c6eca09d49
commit
8b4983f3fa
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/gitea/
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user