infra: realestate-lab Docker/Nginx/배포 스크립트 통합

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 08:32:08 +09:00
parent 5a493664f2
commit 0be5693aee
3 changed files with 31 additions and 1 deletions

View File

@@ -89,6 +89,25 @@ services:
timeout: 5s
retries: 3
realestate-lab:
build:
context: ./realestate-lab
container_name: realestate-lab
restart: unless-stopped
ports:
- "18800:8000"
environment:
- TZ=${TZ:-Asia/Seoul}
- DATA_GO_KR_API_KEY=${DATA_GO_KR_API_KEY:-}
- CORS_ALLOW_ORIGINS=${CORS_ALLOW_ORIGINS:-http://localhost:3007,http://localhost:8080}
volumes:
- ${REALESTATE_DATA_PATH:-./data/realestate}:/app/data
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 5s
retries: 3
travel-proxy:
build: ./travel-proxy
container_name: travel-proxy
@@ -119,6 +138,7 @@ services:
depends_on:
- music-lab
- blog-lab
- realestate-lab
ports:
- "8080:80"
volumes: