diff --git a/ansible/roles/docker/files/gitea/app.ini b/ansible/roles/docker/files/gitea/app.ini index d8f9cad..2ba2b82 100644 --- a/ansible/roles/docker/files/gitea/app.ini +++ b/ansible/roles/docker/files/gitea/app.ini @@ -13,16 +13,16 @@ TEMP_PATH = /data/gitea/uploads [server] APP_DATA_PATH = /data/gitea -SSH_DOMAIN = git.theorangeone.net +SSH_DOMAIN = git.0rng.one HTTP_PORT = 3000 -ROOT_URL = https://git.theorangeone.net/gitea/ +ROOT_URL = https://git.0rng.one/gitea/ DISABLE_SSH = false SSH_PORT = 22 SSH_LISTEN_PORT = 3022 START_SSH_SERVER = true LFS_START_SERVER = true LFS_CONTENT_PATH = /data/git/lfs -DOMAIN = git.theorangeone.net +DOMAIN = git.0rng.one LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }} OFFLINE_MODE = false LANDING_PAGE = explore diff --git a/ansible/roles/docker/files/gitea/docker-compose.yml b/ansible/roles/docker/files/gitea/docker-compose.yml index ca5c010..0bad515 100644 --- a/ansible/roles/docker/files/gitea/docker-compose.yml +++ b/ansible/roles/docker/files/gitea/docker-compose.yml @@ -10,7 +10,7 @@ services: - USER_GID={{ docker_user.id }} labels: - "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.certresolver=le" - "traefik.http.services.gitea-gitea.loadbalancer.server.port=3000" @@ -46,7 +46,7 @@ services: - ./cgit/repos.txt:/config/repos.txt:ro labels: - "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.certresolver=le"