- SPipe_server_2026-10-30.zip 내용을 풀어서 등록 (압축 파일은 올리지 않음) - README에 데모 v2 서버 업데이트 순서 추가, 저장소에 없는 문서 목차 정리 - 패치내역을 docs/로 이동, _worklog.md 추가 - 임시 파일(backend/temp.*)과 API 키가 든 파일은 제외
25 lines
589 B
YAML
25 lines
589 B
YAML
name: spipe
|
|
services:
|
|
api:
|
|
build:
|
|
context: .
|
|
dockerfile: deploy/Dockerfile
|
|
target: api
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health', timeout=5)"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: deploy/Dockerfile
|
|
target: web
|
|
ports:
|
|
- "${SPIPE_PORT:-80}:80"
|
|
restart: unless-stopped
|
|
depends_on:
|
|
api:
|
|
condition: service_healthy
|