mirror of
https://github.com/velocitatem/cvfs.git
synced 2026-05-31 08:43:37 +00:00
API_BASE_URL env var isn't reaching Next.js in Dokploy, so the fallback was localhost:9812. Default to the correct container hostname so it works without any env var configuration. Local dev still overrides via API_BASE_URL. https://claude.ai/code/session_01Xmxm2QLgFBgRJyYD6VukR6
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
NAME=myproject
|
|
COMPOSE_PROJECT_NAME=$NAME
|
|
|
|
# Backend
|
|
BACKEND_MODE=fastapi
|
|
BACKEND_PORT=9812
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/resume_branches
|
|
CORS_ORIGINS=http://localhost:3000
|
|
|
|
# Ports
|
|
REDIS_PORT=6378
|
|
GRAFANA_PORT=3125
|
|
LOKI_PORT=3142
|
|
|
|
# PostgreSQL
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=app
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_HOST=localhost
|
|
|
|
# MongoDB
|
|
MONGO_PORT=27017
|
|
MONGO_DB=app
|
|
MONGO_USER=admin
|
|
MONGO_PASSWORD=admin123
|
|
MONGO_HOST=localhost
|
|
|
|
DATABASE_TYPE=postgres
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:$REDIS_PORT
|
|
|
|
# Logging
|
|
LOGDIR="/tmp/logs-$NAME/"
|
|
|
|
# Supabase (webapp auth - set NEXT_PUBLIC_REQUIRE_AUTH=true to enable gating)
|
|
NEXT_PUBLIC_REQUIRE_AUTH=false
|
|
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
|
|
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your_supabase_anon_key_here
|
|
# Server-side proxy target (read by next.config.ts at runtime, not baked into the bundle)
|
|
API_BASE_URL=http://localhost:9812
|
|
|
|
# MinIO Object Storage (used instead of S3)
|
|
MINIO_ROOT_USER=minioadmin
|
|
MINIO_ROOT_PASSWORD=minioadmin
|
|
MINIO_ENDPOINT=http://localhost:9900
|
|
MINIO_BUCKET=resume-branches
|
|
MINIO_REGION=us-east-1
|
|
|
|
# ML
|
|
ML_LATEST_WEIGHTS_PATH=/app/models/weights
|
|
MLFLOW_TRACKING_URI=http://localhost:5000
|
|
|
|
# AI / Agents
|
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
# Auth / Publishing
|
|
PUBLIC_BASE_URL=https://cv.alves.world
|
|
CV_PUBLIC_DOMAIN=cv.alves.world
|
|
AUTH_DISABLE_VERIFICATION=true
|
|
# AUTH_OIDC_ISSUER=
|
|
# AUTH_OIDC_AUDIENCE=
|
|
# Optional: use Bedrock instead of direct Anthropic API
|
|
# CLAUDE_CODE_USE_BEDROCK=1
|
|
# Optional: use Vertex AI
|
|
# CLAUDE_CODE_USE_VERTEX=1
|