export gitea port
This commit is contained in:
parent
09e9d79688
commit
137917718a
2 changed files with 5 additions and 6 deletions
|
@ -18,7 +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_GITEA=gitea
|
||||||
HOST_WALLABAG=wallabag
|
HOST_WALLABAG=wallabag
|
||||||
HOST_WWW=www
|
HOST_WWW=www
|
||||||
FQDN_DASHBOARD=dashboard.traefik.me
|
FQDN_DASHBOARD=dashboard.traefik.me
|
||||||
|
|
|
@ -13,15 +13,14 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "2222:2222"
|
- "2222:2222"
|
||||||
expose:
|
|
||||||
- 3000
|
|
||||||
networks:
|
networks:
|
||||||
- source-frontend
|
- source-frontend
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.source.rule=Host(`${HOST_SOURCE}.${DOMAIN}`)
|
- traefik.http.routers.gitea.rule=Host(`${HOST_GITEA}.${DOMAIN}`)
|
||||||
- traefik.http.routers.source.entrypoints=https
|
- traefik.http.services.gitea.loadbalancer.server.port=3000
|
||||||
- traefik.http.routers.source.tls=true
|
- traefik.http.routers.gitea.entrypoints=https
|
||||||
|
- traefik.http.routers.gitea.tls=true
|
||||||
- traefik.docker.network=source-frontend
|
- traefik.docker.network=source-frontend
|
||||||
volumes:
|
volumes:
|
||||||
gitea_data:
|
gitea_data:
|
||||||
|
|
Loading…
Add table
Reference in a new issue