Cleaned up gitea stack

master
Jef Roosens 2021-12-31 12:36:09 +01:00
parent 5d0291c538
commit da1bf4ad46
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 0 additions and 27 deletions

View File

@ -18,14 +18,6 @@ services:
- 'traefik.http.routers.gitea.tls.certresolver=letsEncrypt'
- 'traefik.http.services.gitea.loadbalancer.server.port=3000'
# configs:
# - source: gitea_v2
# target: /data/gitea/conf/app.ini
environment:
- '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'
@ -37,11 +29,6 @@ services:
- 'lfs:/data/git/lfs'
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
secrets:
- gitea_internal_token
- gitea_jwt_secret
- gitea_lfs_jwt_secret
- gitea_secret_key
db:
image: 'postgres:14.1-alpine'
@ -67,24 +54,10 @@ services:
volumes:
- 'db-data:/var/lib/postgresql/data'
configs:
gitea_v2:
external: true
networks:
public:
external: true
secrets:
gitea_internal_token:
external: true
gitea_jwt_secret:
external: true
gitea_lfs_jwt_secret:
external: true
gitea_secret_key:
external: true
volumes:
data:
db-data: