added option to override public registration

This commit is contained in:
Snogard 2025-03-09 22:06:47 +01:00
parent 7470edb3e3
commit 95f6295d8b

View File

@ -1,6 +1,8 @@
#!/bin/bash
source /opt/kaido/src/libs/bash/lib.sh
override_registration=$1
# setup
imageName_web=ghcr.io/linkwarden/linkwarden:v2.9.3
imageName_db=docker.io/library/postgres:16.8-alpine3.20
@ -41,6 +43,10 @@ if [ ! -f "$envFile_web" ]; then
envFile_web=$KAIDO_EMPTY_ENV_FILE
fi
if [ ! -z $override_registration ]; then
disable_public_registration=$override_registration
fi
# pre install
create_folder "$dstPostgresDataPath"