setup local dev env
This commit is contained in:
22
.env.example
22
.env.example
@@ -1,7 +1,23 @@
|
||||
# Backend
|
||||
DATABASE_URL=postgres://campaign_manager:devpassword@localhost:5432/campaign_manager
|
||||
# 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
|
||||
PORT=3000
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user