Replace gitea with gitlab
Leave gitea in place for a bit in case I need to change back suddenly
This commit is contained in:
parent
84d529be2f
commit
acef6246d0
3 changed files with 2 additions and 18 deletions
|
@ -24,7 +24,7 @@ services:
|
||||||
- "{{ wireguard.clients.intersect.ip }}:8022:22"
|
- "{{ wireguard.clients.intersect.ip }}:8022:22"
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.gitlab.rule=Host(`gitlab.theorangeone.net`)
|
- traefik.http.routers.gitlab.rule=Host(`git.theorangeone.net`) || Host(`git.0rng.one`)
|
||||||
- traefik.http.routers.gitlab.tls.certresolver=le
|
- traefik.http.routers.gitlab.tls.certresolver=le
|
||||||
- traefik.http.services.gitlab-gitlab.loadbalancer.server.port=80
|
- traefik.http.services.gitlab-gitlab.loadbalancer.server.port=80
|
||||||
- traefik.http.services.gitlab-gitlab.loadbalancer.server.scheme=http
|
- traefik.http.services.gitlab-gitlab.loadbalancer.server.scheme=http
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
external_url 'https://gitlab.theorangeone.net'
|
external_url 'https://git.theorangeone.net'
|
||||||
nginx['redirect_http_to_https'] = false
|
nginx['redirect_http_to_https'] = false
|
||||||
nginx['listen_https'] = false
|
nginx['listen_https'] = false
|
||||||
nginx['listen_port'] = 80
|
nginx['listen_port'] = 80
|
||||||
|
|
|
@ -7,11 +7,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- USER_UID={{ docker_user.id }}
|
- USER_UID={{ docker_user.id }}
|
||||||
- USER_GID={{ docker_user.id }}
|
- USER_GID={{ docker_user.id }}
|
||||||
labels:
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.routers.gitea.rule=(Host(`git.theorangeone.net`) || Host(`git.0rng.one`))
|
|
||||||
- traefik.http.routers.gitea.tls.certresolver=le
|
|
||||||
- traefik.http.services.gitea-gitea.loadbalancer.server.port=3000
|
|
||||||
ports:
|
ports:
|
||||||
- "{{ wireguard.clients.intersect.ip }}:3022:3022"
|
- "{{ wireguard.clients.intersect.ip }}:3022:3022"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -45,14 +40,3 @@ services:
|
||||||
- POSTGRES_DB=gitea
|
- POSTGRES_DB=gitea
|
||||||
- BACKUP_KEEP_MONTHS=1
|
- BACKUP_KEEP_MONTHS=1
|
||||||
- BACKUP_KEEP_WEEKS=1
|
- BACKUP_KEEP_WEEKS=1
|
||||||
|
|
||||||
git-mirror:
|
|
||||||
image: theorangeone/git-mirror:latest
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /mnt/tank/app-data/git-mirror/repositories.toml:/app/repositories.toml:ro
|
|
||||||
- /scratch/git-mirror:/app/repos
|
|
||||||
environment:
|
|
||||||
- GITHUB_TOKEN={{ gitea.git_mirror_github_token }}
|
|
||||||
depends_on:
|
|
||||||
- gitea
|
|
||||||
|
|
Loading…
Reference in a new issue