diff --git a/stacks/gitea.yml b/stacks/gitea.yml index 5a135fe..cc6b076 100644 --- a/stacks/gitea.yml +++ b/stacks/gitea.yml @@ -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: