mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 01:09:16 +00:00
Update tianji-install.sh: Add OPENAI_API_KEY to .env
This commit is contained in:
parent
2fff2079ef
commit
8f352fe222
@ -74,6 +74,7 @@ $STD pnpm build:server
|
|||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
cat <<EOF >/opt/tianji/src/server/.env
|
cat <<EOF >/opt/tianji/src/server/.env
|
||||||
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?schema=public"
|
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?schema=public"
|
||||||
|
OPENAI_API_KEY=""
|
||||||
JWT_SECRET="$TIANJI_SECRET"
|
JWT_SECRET="$TIANJI_SECRET"
|
||||||
EOF
|
EOF
|
||||||
cd /opt/tianji/src/server
|
cd /opt/tianji/src/server
|
||||||
|
Loading…
Reference in New Issue
Block a user