diff options
-rw-r--r-- | template/docker-compose.yaml.template | 1 | ||||
-rw-r--r-- | template/forgejo.app.ini.init.template (renamed from template/forgejo.app.ini.template) | 9 |
2 files changed, 3 insertions, 7 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index 18b9b32..48921bb 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -172,7 +172,6 @@ services: - USER_UID=1000 - USER_GID=1000 volumes: - - ./forgejo.app.ini:/data/gitea/conf/app.ini - ./data/forgejo:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro diff --git a/template/forgejo.app.ini.template b/template/forgejo.app.ini.init.template index 3bd44c4..7dc3800 100644 --- a/template/forgejo.app.ini.template +++ b/template/forgejo.app.ini.init.template @@ -1,3 +1,6 @@ +# Copy this file to ./data/forgejo/gitea/conf/app.ini +# TODO: Copy this to data directory automatically. + APP_NAME = Forgejo, loved by crupest. RUN_MODE = prod WORK_PATH = /data/gitea @@ -8,15 +11,12 @@ HTTP_PORT = 3000 ROOT_URL = https://git.${CRUPEST_DOMAIN} DISABLE_SSH = true LFS_START_SERVER = true -LFS_JWT_SECRET_URI = file:/data/forgejo-secret/lfs_jwt_secret [database] DB_TYPE = sqlite3 [security] INSTALL_LOCK = false -SECRET_KEY_URI = file:/data/forgejo-secret/secret_key -INTERNAL_TOKEN_URI = file:/data/forgejo-secret/internal_token REVERSE_PROXY_LIMIT = 1 REVERSE_PROXY_TRUSTED_PROXIES = * @@ -38,8 +38,5 @@ MODE = console,file [cron] ENABLED = true -[oauth2] -JWT_SECRET_URI = file:/data/forgejo-secret/oauth2_jwt_secret - [actions] ENABLED = false |