bug fixes for local deployment model
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
# Render config templates with environment variables, then start nginx.
|
||||
set -e
|
||||
|
||||
# Ensure nginx can write to the shared logs directory
|
||||
mkdir -p /logs && chown nginx:nginx /logs
|
||||
|
||||
sed "s|__API_UPSTREAM__|${API_UPSTREAM}|g" /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf
|
||||
envsubst '${API_PUBLIC_URL}' < /usr/share/nginx/html/config.json.template > /usr/share/nginx/html/config.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user