add gitea
This commit is contained in:
parent
367b4ebf05
commit
63b8eb824a
3 changed files with 31 additions and 1 deletions
|
@ -18,6 +18,7 @@ HOST_LYCHEE=lychee
|
||||||
HOST_SEAFILE=seafile
|
HOST_SEAFILE=seafile
|
||||||
HOST_SELFOSS=selfoss
|
HOST_SELFOSS=selfoss
|
||||||
HOST_SHAARLI=shaarli
|
HOST_SHAARLI=shaarli
|
||||||
|
HOST_SOURCE=source
|
||||||
HOST_WALLABAG=wallabag
|
HOST_WALLABAG=wallabag
|
||||||
HOST_WWW=www
|
HOST_WWW=www
|
||||||
FQDN_DASHBOARD=dashboard.traefik.me
|
FQDN_DASHBOARD=dashboard.traefik.me
|
||||||
|
|
|
@ -34,7 +34,9 @@ networks:
|
||||||
selfoss-frontend:
|
selfoss-frontend:
|
||||||
name: selfoss-frontend
|
name: selfoss-frontend
|
||||||
shaarli-frontend:
|
shaarli-frontend:
|
||||||
name: shaarli-frontend
|
name: shaarli-frontend
|
||||||
|
source-frontend:
|
||||||
|
name: source-frontend
|
||||||
wallabag-frontend:
|
wallabag-frontend:
|
||||||
name: wallabag-frontend
|
name: wallabag-frontend
|
||||||
wwww-frontend:
|
wwww-frontend:
|
||||||
|
|
27
source/docker-compose-gitea.yml
Normal file
27
source/docker-compose-gitea.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: gitea/gitea:1.16.9-rootless
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- gitea_data:/var/lib/gitea
|
||||||
|
- gitea_config:/etc/gitea
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
- "2222:2222"
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
|
networks:
|
||||||
|
- source-frontend
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.source.rule=Host(`${HOST_SOURCE}.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.source.entrypoints=https
|
||||||
|
- traefik.http.routers.source.tls=true
|
||||||
|
- traefik.docker.network=source-frontend
|
||||||
|
volumes:
|
||||||
|
gitea_data:
|
||||||
|
gitea_config:
|
Loading…
Add table
Reference in a new issue