Files
healthflow/docker-compose.yml
2025-12-20 23:51:40 +08:00

23 lines
660 B
YAML

version: '3.8'
services:
healthflow:
image: healthflow-server:latest
container_name: healthflow-server
restart: unless-stopped
ports:
- "6601:8080"
volumes:
- ./data:/app/data
environment:
- SERVER_ADDR=:8080
- DB_PATH=/app/data/healthflow.db
- JWT_SECRET=${JWT_SECRET:-change-me-in-production}
- BASE_URL=${BASE_URL:-http://localhost:8080}
- LOCAL_UPLOAD_PATH=
- R2_ACCOUNT_ID=${R2_ACCOUNT_ID}
- R2_ACCESS_KEY_ID=${R2_ACCESS_KEY_ID}
- R2_ACCESS_KEY_SECRET=${R2_ACCESS_KEY_SECRET}
- R2_BUCKET_NAME=${R2_BUCKET_NAME:-healthflow}
- R2_PUBLIC_URL=${R2_PUBLIC_URL}