Files
Jyotisha/docker-compose.yml
T
732642856 5150f0d99a v6.9.7: PyPI + Docker 工程化 — pip install + docker compose up 一键部署
feat(pypi): publish-pypi.yml workflow (tag-triggered, OIDC trusted publishing)
feat(docker): Dockerfile + docker-compose.yml (API :5200 + Web :5300)
feat(ci): docker-publish.yml workflow (ghcr.io, tag-triggered)
chore: version unified to v6.9.6 (pyproject/__init__/SKILL/README)
chore: MANIFEST.in + scripts/__init__.py for pip install support
chore: pyproject.toml updated packages.find to include scripts/
chore: README.md status section refreshed, P0/P1 updated

Verified: wheel build + twine check PASSED, pip install + import OK
2026-06-12 18:50:39 +08:00

29 lines
789 B
YAML

# ─── Jyotish Vedic Astrology Compose Stack ───
# Start: docker compose up -d
# Stop: docker compose down
# API: http://localhost:5200/api/health
# Web App: http://localhost:5300
version: "3.9"
services:
jyotish:
build: .
container_name: jyotish-vedic
ports:
- "5200:5200" # REST API
- "5300:5300" # jyotish-app web frontend
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5200/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
environment:
- TZ=Asia/Shanghai
- PYTHONUNBUFFERED=1
volumes:
# Mount your own chart data / celebrity cases (optional)
- ./tests/celebrity_cases.json:/app/tests/celebrity_cases.json:ro