Use shiney new domain for git hosting

This commit is contained in:
Jake Howard 2020-03-20 22:21:02 +00:00
parent 5bb2c3b868
commit ef083badc1
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 5 additions and 5 deletions

View file

@ -13,16 +13,16 @@ TEMP_PATH = /data/gitea/uploads
[server] [server]
APP_DATA_PATH = /data/gitea APP_DATA_PATH = /data/gitea
SSH_DOMAIN = git.theorangeone.net SSH_DOMAIN = git.0rng.one
HTTP_PORT = 3000 HTTP_PORT = 3000
ROOT_URL = https://git.theorangeone.net/gitea/ ROOT_URL = https://git.0rng.one/gitea/
DISABLE_SSH = false DISABLE_SSH = false
SSH_PORT = 22 SSH_PORT = 22
SSH_LISTEN_PORT = 3022 SSH_LISTEN_PORT = 3022
START_SSH_SERVER = true START_SSH_SERVER = true
LFS_START_SERVER = true LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs LFS_CONTENT_PATH = /data/git/lfs
DOMAIN = git.theorangeone.net DOMAIN = git.0rng.one
LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }} LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }}
OFFLINE_MODE = false OFFLINE_MODE = false
LANDING_PAGE = explore LANDING_PAGE = explore

View file

@ -10,7 +10,7 @@ services:
- USER_GID={{ docker_user.id }} - USER_GID={{ docker_user.id }}
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gitea.rule=Host(`git.theorangeone.net`) && PathPrefix(`/gitea`)" - "traefik.http.routers.gitea.rule=(Host(`git.theorangeone.net`) || Host(`git.0rng.one`)) && PathPrefix(`/gitea`)"
- "traefik.http.routers.gitea.tls=true" - "traefik.http.routers.gitea.tls=true"
- "traefik.http.routers.gitea.tls.certresolver=le" - "traefik.http.routers.gitea.tls.certresolver=le"
- "traefik.http.services.gitea-gitea.loadbalancer.server.port=3000" - "traefik.http.services.gitea-gitea.loadbalancer.server.port=3000"
@ -46,7 +46,7 @@ services:
- ./cgit/repos.txt:/config/repos.txt:ro - ./cgit/repos.txt:/config/repos.txt:ro
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.cgit.rule=Host(`git.theorangeone.net`)" - "traefik.http.routers.cgit.rule=Host(`git.theorangeone.net`) || Host(`git.0rng.one`)"
- "traefik.http.routers.cgit.tls=true" - "traefik.http.routers.cgit.tls=true"
- "traefik.http.routers.cgit.tls.certresolver=le" - "traefik.http.routers.cgit.tls.certresolver=le"