docker-compose 수정 .

main
hbyang 2026-06-01 15:13:24 +09:00
parent 6628613e20
commit 4b8d4150f3
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ FROM python:3.12-slim-bookworm
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=10001 \
PORT=21500 \
WEBAPP_DIR=/app/webapp \
OUTPUTS_DIR=/app/server/outputs \
UPLOADS_DIR=/app/server/.uploads
@ -40,6 +40,6 @@ COPY webapp ./webapp
# Remotion이 쓰는 headless 브라우저 미리 다운로드 (런타임 첫 렌더 지연 제거)
RUN cd remotion && npx remotion browser ensure
EXPOSE 10001
EXPOSE 21500
WORKDIR /app/server
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT}"]

View File

@ -9,7 +9,7 @@ services:
dockerfile: Dockerfile
image: ado2-hookit:local
ports:
- "10001:10001"
- "21500:21500"
# .env 의 모든 키를 컨테이너로 주입 (config.py 가 읽음)
env_file:
- .env