mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update tianji-install.sh: Add OPENAI_API_KEY to .env (#1480)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							2fff2079ef
						
					
				
				
					commit
					349cfb28b5
				
			@@ -74,6 +74,7 @@ $STD pnpm build:server
 | 
			
		||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
 | 
			
		||||
cat <<EOF >/opt/tianji/src/server/.env
 | 
			
		||||
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?schema=public"
 | 
			
		||||
OPENAI_API_KEY=""
 | 
			
		||||
JWT_SECRET="$TIANJI_SECRET"
 | 
			
		||||
EOF
 | 
			
		||||
cd /opt/tianji/src/server
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user