Switch deployment port to 8019
Update run script and Apache proxy target to use port 8019 and document the default port.
This commit is contained in:
@@ -42,5 +42,6 @@ http://localhost:8000
|
||||
## 주의 사항
|
||||
- PostgreSQL 접속 정보는 프로젝트 루트의 `.env`에서 로드합니다.
|
||||
- `server/`에서 실행하더라도 루트 `.env`가 적용됩니다.
|
||||
- 배포 스크립트 기본 포트는 `8019`이며 `PORT`로 변경할 수 있습니다.
|
||||
- ffmpeg가 설치되어 있어야 합니다.
|
||||
- mp3 파일은 `resources/` 아래에 저장됩니다.
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
|
||||
ProxyPass / http://127.0.0.1:8018/
|
||||
ProxyPassReverse / http://127.0.0.1:8018/
|
||||
ProxyPass / http://127.0.0.1:8019/
|
||||
ProxyPassReverse / http://127.0.0.1:8019/
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/tts_error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/tts_access.log combined
|
||||
|
||||
@@ -3,7 +3,7 @@ set -euo pipefail
|
||||
|
||||
cd /home/dsyoon/workspace/tts
|
||||
|
||||
PORT="${PORT:-8018}"
|
||||
PORT="${PORT:-8019}"
|
||||
|
||||
if lsof -ti tcp:"${PORT}" >/dev/null 2>&1; then
|
||||
echo "Stopping existing server on port ${PORT}..."
|
||||
|
||||
Reference in New Issue
Block a user