diff --git a/README.md b/README.md index ddbaebc..20f74a9 100644 --- a/README.md +++ b/README.md @@ -42,5 +42,6 @@ http://localhost:8000 ## 주의 사항 - PostgreSQL 접속 정보는 프로젝트 루트의 `.env`에서 로드합니다. - `server/`에서 실행하더라도 루트 `.env`가 적용됩니다. +- 배포 스크립트 기본 포트는 `8019`이며 `PORT`로 변경할 수 있습니다. - ffmpeg가 설치되어 있어야 합니다. - mp3 파일은 `resources/` 아래에 저장됩니다. diff --git a/apache/tts.conf b/apache/tts.conf index 08a84bd..f44ac13 100644 --- a/apache/tts.conf +++ b/apache/tts.conf @@ -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 diff --git a/server/run.sh b/server/run.sh index fe89171..bf46112 100644 --- a/server/run.sh +++ b/server/run.sh @@ -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}..."