mirror of
https://github.com/chartdb/chartdb.git
synced 2025-10-22 23:01:56 +00:00
* feat: add DISABLE_ANALYTICS flag to opt-out of Fathom analytics * fix: HIDE_BUCKLE_DOT_DEV -> HIDE_CHARTDB_CLOUD --------- Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com>
8 lines
274 B
Bash
8 lines
274 B
Bash
#!/bin/sh
|
|
|
|
# Replace placeholders in nginx.conf
|
|
envsubst '${OPENAI_API_KEY} ${OPENAI_API_ENDPOINT} ${LLM_MODEL_NAME} ${HIDE_CHARTDB_CLOUD} ${DISABLE_ANALYTICS}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
|
|
|
|
# Start Nginx
|
|
nginx -g "daemon off;"
|