mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 06:38:06 +02:00
Add environment-to-ini to docker image (#14762)
* Add environment-to-app.ini routine * Call environment-to-ini in docker setup scripts * Automatically convert section vars to lower case to match documentation * Remove git patch instructions * Add env variable documentation to Install Docker
This commit is contained in:
1 parent
428d0edcb0
commit
61f347e349
8 files changed
+65
-25
No files matched your search
@@ -46,3 +46,6 @@ if [ ! -f ${GITEA_APP_INI} ]; then
|
||||
SECRET_KEY=${SECRET_KEY:-""} \
|
||||
envsubst < /etc/templates/app.ini > ${GITEA_APP_INI}
|
||||
fi
|
||||
|
||||
# Replace app.ini settings with env variables in the form GITEA__SECTION_NAME__KEY_NAME
|
||||
environment-to-ini --config ${GITEA_APP_INI}
|
||||
Reference in new issue
Block a user