Update domain-locker-install.sh

This commit is contained in:
Tobias 2025-11-12 16:34:12 +01:00 committed by GitHub
parent db64bc7877
commit 13e79913c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,6 @@ msg_info "Building Domain-Locker"
cd /opt/domain-locker cd /opt/domain-locker
npm install --legacy-peer-deps npm install --legacy-peer-deps
export NODE_OPTIONS="--max-old-space-size=8192" export NODE_OPTIONS="--max-old-space-size=8192"
HOST_IP=$(hostname -I | awk '{print $1}')
cat <<EOF >/opt/domain-locker.env cat <<EOF >/opt/domain-locker.env
# Database connection # Database connection
DL_PG_HOST=localhost DL_PG_HOST=localhost
@ -32,8 +31,6 @@ DL_PG_USER=$PG_DB_USER
DL_PG_PASSWORD=$PG_DB_PASS DL_PG_PASSWORD=$PG_DB_PASS
DL_PG_NAME=$PG_DB_NAME DL_PG_NAME=$PG_DB_NAME
DL_API_BASE_URL=http://${HOST_IP}:3000
# Build + Runtime # Build + Runtime
DL_ENV_TYPE=selfHosted DL_ENV_TYPE=selfHosted
NITRO_PRESET=node_server NITRO_PRESET=node_server