mirror of
https://github.com/chartdb/chartdb.git
synced 2025-10-23 07:11:56 +00:00
- Add OPENAI_API_ENDPOINT configuration - Add LLM_MODEL_NAME configuration - Update documentation for custom server setup - Add error handling for endpoint configuration
8 lines
231 B
Bash
8 lines
231 B
Bash
#!/bin/sh
|
|
|
|
# Replace placeholders in nginx.conf
|
|
envsubst '${OPENAI_API_KEY} ${OPENAI_API_ENDPOINT} ${LLM_MODEL_NAME}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
|
|
|
|
# Start Nginx
|
|
nginx -g "daemon off;"
|