feat: add dynamic dialog max width to ModalDialog component
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m45s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m45s
This commit is contained in:
18
frontend/docker/start-nginx.sh
Normal file
18
frontend/docker/start-nginx.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
backend_host="${BACKEND_HOST:-chore-app-backend}"
|
||||
ssl_enabled="$(printf '%s' "${FRONTEND_SSL_ENABLED:-true}" | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
template_file="/etc/nginx/nginx.http.conf.template"
|
||||
|
||||
case "$ssl_enabled" in
|
||||
1|true|yes|on)
|
||||
template_file="/etc/nginx/nginx.conf.template"
|
||||
;;
|
||||
esac
|
||||
|
||||
sed "s|\$BACKEND_HOST|${backend_host}|g" "$template_file" > /etc/nginx/nginx.conf
|
||||
|
||||
nginx -t
|
||||
exec nginx -g 'daemon off;'
|
||||
Reference in New Issue
Block a user