Make gitea available for external access and configure kimai app_secret for migration.
This commit is contained in:
@@ -38,9 +38,17 @@ services:
|
|||||||
- proxy
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.gitea-web.entrypoints=web"
|
- "traefik.http.routers.git.entrypoints=web"
|
||||||
- "traefik.http.routers.gitea-web.rule=Host(`gitea.lan`)"
|
- "traefik.http.routers.git.rule=Host(`cs-git.ddnss.de`)"
|
||||||
- "traefik.http.services.gitea-web.loadbalancer.server.port=3000"
|
- "traefik.http.routers.git.middlewares=git"
|
||||||
|
- "traefik.http.middlewares.git.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.routers.git-secure.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.git-secure.rule=Host(`cs-git.ddnss.de`)"
|
||||||
|
- "traefik.http.routers.git-secure.service=git-secure"
|
||||||
|
- "traefik.http.routers.git-secure.tls=true"
|
||||||
|
- "traefik.http.routers.git-secure.tls.certresolver=myresolver"
|
||||||
|
- "traefik.http.routers.git-secure.tls.domains[0].main=cs-git.ddnss.de"
|
||||||
|
- "traefik.http.services.git-secure.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
nginx-kimai:
|
nginx-kimai:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
@@ -69,6 +77,7 @@ services:
|
|||||||
- ADMINPASS=ZovJdPamHwSNCGTcOPDb
|
- ADMINPASS=ZovJdPamHwSNCGTcOPDb
|
||||||
- DATABASE_URL=mysql://kimai:xXW5dnQoMpAmdXrQgUgU@mysql8/kimai
|
- DATABASE_URL=mysql://kimai:xXW5dnQoMpAmdXrQgUgU@mysql8/kimai
|
||||||
- TRUSTED_HOSTS=kimai.lan
|
- TRUSTED_HOSTS=kimai.lan
|
||||||
|
- APP_SECRET=gwot394*Gt
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user