Files
campaign-manager/.env.example

28 lines
910 B
Plaintext

# Campaign service
USERS_DATABASE_URL=postgres://cm_campaign_app:devpassword@localhost:5432/cm_users
CAMPAIGN_DATABASE_URL=postgres://cm_campaign_app:devpassword@localhost:5432/cm_campaign
CAMPAIGN_PORT=3000
# Content service
CONTENT_DATABASE_URL=postgres://cm_content_app:devpassword@localhost:5432/cm_content
CONTENT_PORT=3001
# Shared auth
JWT_SECRET=change-me-to-a-long-random-secret
# Web BFF upstreams (server-side only)
CAMPAIGN_API_BASE=http://localhost:3000/v1
CONTENT_API_BASE=http://localhost:3001/v1
WEB_PORT=5173
# Symbiote direct upstreams (build-time)
VITE_CAMPAIGN_API_BASE=http://localhost:3000/v1
VITE_CONTENT_API_BASE=http://localhost:3001/v1
# Object storage (Cloudflare R2 or any S3-compatible)
S3_ENDPOINT=https://<accountid>.r2.cloudflarestorage.com
S3_BUCKET=campaign-manager-assets
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_PUBLIC_URL=https://assets.campaign-manager.example.com