bug fixes for local deployment model
This commit is contained in:
1 parent
621e8bd7b6
commit
8ef1ac12c7
3 files changed
+12
-3
No files matched your search
@@ -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