Compare commits

..

6 Commits

4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
export APP_INI_VERSION=v28
export APP_INI_VERSION=v26
export DOCKER_SETUP_SH_VERSION=v2
export PG_BACKUP_VERSION=v1

View File

@ -139,7 +139,6 @@ LEVEL=WARN
STACKTRACE_LEVEL=None
ENABLE_XORM_LOG=false
[session]
PROVIDER = {{ env "GITEA_SESSION_PROVIDER" }}

View File

@ -65,7 +65,7 @@ services:
- proxy
- internal
healthcheck:
test: ["CMD", "curl", "--user-agent=healthcheck", "-f", "http://localhost:3000/api/healthz"]
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
interval: 30s
timeout: 10s
retries: 10

View File

@ -6,7 +6,6 @@
# Prepare git folder
mkdir -p ${HOME} && chmod 0700 ${HOME}
if [ ! -w ${HOME} ]; then echo "${HOME} is not writable"; exit 1; fi
# Prepare custom folder
mkdir -p ${GITEA_CUSTOM} && chmod 0500 ${GITEA_CUSTOM}
@ -15,8 +14,10 @@ mkdir -p ${GITEA_TEMP} && chmod 0700 ${GITEA_TEMP}
if [ ! -w ${GITEA_TEMP} ]; then echo "${GITEA_TEMP} is not writable"; exit 1; fi
if [ -e /run/secrets/signing_public_key ] ; then
cat /run/secrets/signing_public_key > /var/lib/gitea/signing_key.pub
cat /run/secrets/signing_private_key > /var/lib/gitea/signing_key
if [ ! -e /var/lib/gitea/signing_key.pub ]; then
ln -s /run/secrets/signing_public_key /var/lib/gitea/signing_key.pub
ln -s /run/secrets/signing_private_key /var/lib/gitea/signing_key
fi
chmod 600 /var/lib/gitea/signing_key*
fi