fix frontend bug

This commit is contained in:
jaehwang committed 2026-09-08 15:57:35 +09:00
1 parent a18f7a5c8b
commit 9bb46f7004
10 files changed
+83 -21

No files matched your search

+6 -3
View File
@@ -1,8 +1,10 @@
# 앞에 아파치가 선다 (playreel.o2o.kr → / 는 30100, /api 는 30101).
# 포트를 루프백에만 붙여 서버 IP로 직접 들어오는 길을 막는다.
services:
backend:
build: ./backend
ports:
- "30101:30101"
- "127.0.0.1:30101:30101"
env_file:
- backend/.env
volumes:
@@ -16,9 +18,10 @@ services:
frontend:
build: ./frontend
ports:
- "30100:30100"
- "127.0.0.1:30100:30100"
environment:
# Next 리라이트가 /api/* 를 여기로 넘긴다
# 아파치가 /api 를 백엔드로 바로 보내므로 운영에서는 안 쓰인다.
# 아파치 없이 띄울 때 proxy.ts 가 이 값으로 넘긴다.
API_ORIGIN: http://backend:30101
depends_on:
- backend