File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ $STD apt install -y \
2020 make
2121msg_ok " Installed Dependencies"
2222
23+ HOST_IP=$( hostname -I | awk ' {print $1}' )
2324NODE_VERSION=" 22" NODE_MODULE=" pnpm@$( curl -s https://raw.githubusercontent.com/docmost/docmost/main/package.json | jq -r ' .packageManager | split("@")[1]' ) " setup_nodejs
2425PG_VERSION=" 16" setup_postgresql
2526fetch_and_deploy_gh_release " docmost" " docmost/docmost"
@@ -50,6 +51,7 @@ sed -i -e "s|APP_SECRET=.*|APP_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z
5051 -e " s|FILE_UPLOAD_SIZE_LIMIT=.*|FILE_UPLOAD_SIZE_LIMIT=50mb|" \
5152 -e " s|DRAWIO_URL=.*|DRAWIO_URL=https://embed.diagrams.net|" \
5253 -e " s|DISABLE_TELEMETRY=.*|DISABLE_TELEMETRY=true|" \
54+ -e " s|APP_URL=.*|APP_URL=http://$HOST_IP :3000|" \
5355 /opt/docmost/.env
5456export NODE_OPTIONS=" --max-old-space-size=2048"
5557$STD pnpm install
You can’t perform that action at this time.
0 commit comments