watch-party/frontend/ops/entrypoint.sh
2025-11-04 20:53:28 +09:00

7 lines
199 B
Bash

#!/bin/sh
set -e
: "${BACKEND_ORIGIN:=http://localhost:8082}"
envsubst '$BACKEND_ORIGIN' \
< /etc/nginx/conf.d/default.conf.template \
> /etc/nginx/conf.d/default.conf
exec nginx -g 'daemon off;'