mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-08-20 10:50:06 +02:00
added option to override public registration
This commit is contained in:
parent
7470edb3e3
commit
95f6295d8b
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source /opt/kaido/src/libs/bash/lib.sh
|
source /opt/kaido/src/libs/bash/lib.sh
|
||||||
|
|
||||||
|
override_registration=$1
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
imageName_web=ghcr.io/linkwarden/linkwarden:v2.9.3
|
imageName_web=ghcr.io/linkwarden/linkwarden:v2.9.3
|
||||||
imageName_db=docker.io/library/postgres:16.8-alpine3.20
|
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
|
envFile_web=$KAIDO_EMPTY_ENV_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z $override_registration ]; then
|
||||||
|
disable_public_registration=$override_registration
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# pre install
|
# pre install
|
||||||
create_folder "$dstPostgresDataPath"
|
create_folder "$dstPostgresDataPath"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user