This commit is contained in:
CanbiZ 2025-11-11 13:19:41 +01:00
commit 19e78d9b36
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker"
cd /opt/domain-locker
npm install --legacy-peer-deps
export NODE_OPTIONS="--max-old-space-size=4096"
export NODE_OPTIONS="--max-old-space-size=6144"
cat <<EOF >/opt/domain-locker.env
# Database connection
DL_PG_HOST=localhost

View File

@ -32,8 +32,8 @@ ADMIN_NAME=admin
ADMIN_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)"
cat <<EOF >/etc/miniflux.conf
# See https://miniflux.app/docs/configuration.html
DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable
DATABASE_URL="user=$DB_USER password=postgres dbname=miniflux2 sslmode=disable"
#DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable
DATABASE_URL="user=$DB_USER password=$DB_PASS dbname=$DB_NAME"
CREATE_ADMIN=1
ADMIN_USERNAME=$ADMIN_NAME
ADMIN_PASSWORD=$ADMIN_PASS