deploy: compose.yaml, container_name, .env 적용 안내

Made-with: Cursor
This commit is contained in:
2026-04-13 14:18:37 +09:00
parent 3058f6a976
commit 58a64a14c2
8 changed files with 23 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
# --- 적용 방법 ---
# Docker Compose와 Vite는 프로젝트 루트의 `.env`만 자동으로 읽는다.
# 이 파일(`.env.example`)은 예시일 뿐이며, 적용하려면 복사해서 이름을 바꾼다.
# cp .env.example .env
# 그다음 `.env` 안의 값만 수정하면 된다. (`.example`을 뗀 `.env`가 실제 설정 파일이다.)
# 사용자에게 노출되는 웹앱 URL(끝 슬래시 없음). PWA manifest 식별 등에 사용
VITE_PUBLIC_APP_URL=https://todo.sori.studio
@@ -8,6 +14,6 @@ VITE_POCKETBASE_URL=https://api.todo.sori.studio
# VITE_PUBLIC_APP_URL=http://127.0.0.1:5173
# VITE_POCKETBASE_URL=http://127.0.0.1:8090
# docker compose 기본 호스트 포트로 NAS LAN에서 접속할 때(포트는 docker-compose.yml과 맞출 것)
# docker compose 기본 호스트 포트로 NAS LAN에서 접속할 때(포트는 docker-compose.yaml과 맞출 것)
# VITE_PUBLIC_APP_URL=http://192.168.0.50:42881
# VITE_POCKETBASE_URL=http://192.168.0.50:42917