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