a661e439a0
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context. Made-with: Cursor
14 lines
247 B
Bash
Executable File
14 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
echo "UC_PORT: ${UC_PORT}"
|
|
echo "WS_PORT: ${WS_PORT}"
|
|
|
|
# shellcheck disable=SC2044
|
|
for FILE in $(find /etc/nginx/conf.d/*); do
|
|
sed -i -e "s|UC_PORT|${UC_PORT}|" -e "s|WS_PORT|${WS_PORT}|" "${FILE}"
|
|
done
|
|
|
|
/usr/sbin/nginx
|
|
sh
|