Fix keeping a ton of json in key variables

This commit is contained in:
Salt 2020-04-30 12:44:26 -05:00
parent 67f636129c
commit 30bed76efe

View File

@ -21,7 +21,7 @@ ROOT_PATH = /var/lib/gitea/log
ENABLED = false ENABLED = false
[oauth2] [oauth2]
JWT_SECRET = {{ gitea_jwt_secret }} JWT_SECRET = {{ gitea_jwt_secret.stdout }}
[openid] [openid]
ENABLE_OPENID_SIGNIN = true ENABLE_OPENID_SIGNIN = true
@ -35,9 +35,9 @@ ENABLE_FEDERATED_AVATAR = false
ROOT = /home/git/gitea-repositories ROOT = /home/git/gitea-repositories
[security] [security]
INTERNAL_TOKEN = {{ gitea_internal_token }} INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}
INSTALL_LOCK = true INSTALL_LOCK = true
SECRET_KEY = {{ gitea_secret_key }} SECRET_KEY = {{ gitea_secret_key.stdout }}
[server] [server]
SSH_DOMAIN = {{ gitea_url }} SSH_DOMAIN = {{ gitea_url }}
@ -48,7 +48,7 @@ DISABLE_SSH = false
SSH_PORT = 22 SSH_PORT = 22
LFS_START_SERVER = true LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }} LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret.stdout }}
OFFLINE_MODE = true OFFLINE_MODE = true
[service] [service]