Git: Use more generic terms
This commit is contained in:
parent
2c80b43e3d
commit
ce3ab9f5f2
1 changed files with 12 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
services:
|
services:
|
||||||
gitea:
|
web:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
|
@ -8,7 +8,6 @@ services:
|
||||||
- GITEA__actions__ENABLED=true
|
- GITEA__actions__ENABLED=true
|
||||||
- GITEA__actions__DEFAULT_ACTIONS_URL=self
|
- GITEA__actions__DEFAULT_ACTIONS_URL=self
|
||||||
- GITEA__packages__ENABLED=true
|
- GITEA__packages__ENABLED=true
|
||||||
container_name: gitea
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/gitea/data/:/data
|
- {{ server.work_dir }}/gitea/data/:/data
|
||||||
|
@ -21,17 +20,17 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.docker.network=proxy
|
- traefik.docker.network=proxy
|
||||||
# HTTP Reverse proxy Gitea
|
# HTTP Reverse proxy Gitea
|
||||||
- traefik.http.routers.gitea-secure.entrypoints=https
|
- traefik.http.routers.git-secure.entrypoints=https
|
||||||
- traefik.http.routers.gitea-secure.rule=Host(`gitea.{{ server.domain }}`) || Host(`git.{{ server.domain }}`)
|
- traefik.http.routers.git-secure.rule=Host(`gitea.{{ server.domain }}`) || Host(`git.{{ server.domain }}`)
|
||||||
- traefik.http.routers.gitea-secure.tls=true
|
- traefik.http.routers.git-secure.tls=true
|
||||||
- traefik.http.routers.gitea-secure.tls.certresolver=sslResolver
|
- traefik.http.routers.git-secure.tls.certresolver=sslResolver
|
||||||
- traefik.http.routers.gitea-secure.service=gitea
|
- traefik.http.routers.git-secure.service=git
|
||||||
- traefik.http.services.gitea.loadbalancer.server.port=3000
|
- traefik.http.services.git.loadbalancer.server.port=3000
|
||||||
# TCP SSH Reverse proxy Gitea
|
# TCP SSH Reverse proxy Gitea
|
||||||
- traefik.tcp.routers.gitea-ssh.rule=HostSNI(`*`)
|
- traefik.tcp.routers.git-ssh.rule=HostSNI(`*`)
|
||||||
- traefik.tcp.routers.gitea-ssh.entrypoints=ssh
|
- traefik.tcp.routers.git-ssh.entrypoints=ssh
|
||||||
- traefik.tcp.routers.gitea-ssh.service=gitea-ssh
|
- traefik.tcp.routers.git-ssh.service=git-ssh
|
||||||
- traefik.tcp.services.gitea-ssh.loadbalancer.server.port=22
|
- traefik.tcp.services.git-ssh.loadbalancer.server.port=22
|
||||||
logging:
|
logging:
|
||||||
driver: loki
|
driver: loki
|
||||||
options:
|
options:
|
||||||
|
@ -42,7 +41,7 @@ services:
|
||||||
image: gitea/act_runner
|
image: gitea/act_runner
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- gitea
|
- web
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.yml:/config.yml
|
- ./config.yml:/config.yml
|
||||||
- {{ server.work_dir }}/gitea/runner/:/data
|
- {{ server.work_dir }}/gitea/runner/:/data
|
||||||
|
|
Loading…
Reference in a new issue