mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
added option to override public registration
This commit is contained in:
parent
7470edb3e3
commit
95f6295d8b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user