Switched to new config
parent
b5b8f23557
commit
994643c3b6
|
@ -18,9 +18,9 @@ services:
|
||||||
- 'traefik.http.routers.gitea.tls.certresolver=letsEncrypt'
|
- 'traefik.http.routers.gitea.tls.certresolver=letsEncrypt'
|
||||||
- 'traefik.http.services.gitea.loadbalancer.server.port=3000'
|
- 'traefik.http.services.gitea.loadbalancer.server.port=3000'
|
||||||
|
|
||||||
# configs:
|
configs:
|
||||||
# - source: gitea_v1
|
- source: gitea_v2
|
||||||
# target: /data/gitea/conf/app.ini
|
target: /data/gitea/conf/app.ini
|
||||||
environment:
|
environment:
|
||||||
- 'DB_TYPE=postgres'
|
- 'DB_TYPE=postgres'
|
||||||
- 'DB_HOST=db:5432'
|
- 'DB_HOST=db:5432'
|
||||||
|
@ -29,10 +29,10 @@ services:
|
||||||
- 'DB_PASSWD=gitea'
|
- 'DB_PASSWD=gitea'
|
||||||
- 'LFS_START_SERVER=true'
|
- 'LFS_START_SERVER=true'
|
||||||
- 'DISABLE_REGISTRATION=true'
|
- 'DISABLE_REGISTRATION=true'
|
||||||
- 'GITEA__server__LFS_JWT_SECRET_FILE=/run/secrets/gitea_lfs_jwt_secret'
|
- 'LFS_JWT_SECRET_FILE=/run/secrets/gitea_lfs_jwt_secret'
|
||||||
- 'GITEA__security__SECRET_KEY_FILE=/run/secrets/gitea_secret_key'
|
- 'SECRET_KEY_FILE=/run/secrets/gitea_secret_key'
|
||||||
- 'GITEA__security__INTERNAL_TOKEN_FILE=/run/secrets/gitea_internal_token'
|
- 'INTERNAL_TOKEN_FILE=/run/secrets/gitea_internal_token'
|
||||||
- 'GITEA__oauth2__JWT_SECRET_FILE=/run/secrets/gitea_jwt_secret'
|
- 'JWT_SECRET_FILE=/run/secrets/gitea_jwt_secret'
|
||||||
networks:
|
networks:
|
||||||
- 'default'
|
- 'default'
|
||||||
- 'public'
|
- 'public'
|
||||||
|
@ -75,7 +75,7 @@ services:
|
||||||
- 'db-data:/var/lib/postgresql/data'
|
- 'db-data:/var/lib/postgresql/data'
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
gitea_v1:
|
gitea_v2:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue