Our services are configured by having certain environment variables set in their shell before they are started.
Environment variable Example value Description CROWD_DB_READ_HOST
staging-read.postgres.crowd.dev Host location of your PostgreSQL v13 database read-only instance. This can be the same as CROWD_DB_WRITE_HOST
if you don't expect much load on your database. CROWD_DB_WRITE_HOST
staging-write.postgres.crowd.dev Host location of your PostgreSQL v13 database read & write instance CROWD_DB_PORT
5432 Database port number CROWD_DB_USERNAME
postgres Database user CROWD_DB_PASSWORD
password Database password CROWD_DB_DATABASE
crowdDb Database name
Environment variable Example value Description CROWD_CUBEJS_URL
https://staging.cubejs.app.com URL pointing to the where CubeJS is deployed. CROWD_CUBEJS_JWT_SECRET
topsecretjwtkey JWT secret used to configure CubeJS so that our services can access CubeJS API. CROWD_CUBEJS_JWT_EXPIRY
2h How long do JWT tokens issued by CubeJS last?
Environment variable Example value Description CROWD_SEARCH_ENGINE_HOST
https://staging-search.crowd.app.com URL pointing to where MeiliSearch instance is deployed. CROWD_SEARCH_ENGINE_API_KEY
testkey MeiliSearch API key so that our services can access their API.
Environment variable Example value Description CROWD_EDITION
community Which crowd.dev edition are you using? TENANT_MODE
multi For now we only allow multi here but we could support other modes as well later on. NODE_ENV
development This can be either set to production for production deploy or to development for all the other deploy modes. SERVICE_ENV
development Same as NODE_ENV
CROWD_API_URL
https://app.test.com/api URL to api
service instance. CROWD_API_FRONTEND_URL
https://app.test.com URL to frontend
service instance. This is where the web application lives. CROWD_API_JWT_SECRET
topsecretjwtissuingkey Passphrase used for issuing JWT login tokens by our api
service. CROWD_API_JWT_EXPIRES_IN
100 years How long should the login token last. KUBE_MODE 1 This has to be set to 1.
Environment variable Example value Description CROWD_TWITTER_CLIENT_ID
WXFZpe4gUSR7ZhiHSu0yuc0yWkeTwY8GGINU7BmLtLQCEN2bP2zrT6glpaSb Twitter OAuth2 client ID for Twitter integration. CROWD_TWITTER_CLIENT_SECRET
dpLTMP0RbSGZeGH9erKkl0GzR7W2iS4BUNLlC9t1LeJa63GhHFqMIuU9QxT155WzxcP6aXBInSzp1NpbtSrvkwxYpAZwR8udj53V Twitter OAuth2 client secret for Twitter integration.
For a guide on how to get these values click here .
Environment variable Example value Description CROWD_SLACK_CLIENT_ID
WXFZpe4gUSR7ZhiHSu0yuc0yWkeTwY8GGINU7BmLtLQCEN2bP2zrT6glpaSb Slack OAuth2 client ID for Twitter integration. CROWD_SLACK_CLIENT_SECRET
dpLTMP0RbSGZeGH9erKkl0GzR7W2iS4BUNLlC9t1LeJa63GhHFqMIuU9QxT155WzxcP6aXBInSzp1NpbtSrvkwxYpAZwR8udj53V Slack OAuth2 client secret for Twitter integration.
For a guide on how to get these values click here .
Environment variable Example value Description CROWD_DISCORD_TOKEN
dpLTMP0RbSGZeGH9erKkl0GzR7W2iS4BUNLlC9t1LeJa63GhHFqMIuU9QxT155WzxcP6aXBInSzp1NpbtSrvkwxYpAZwR8udj53V Discord access token for Discord integration.
For a guide on how to get these values click here .
Environment variable Example value Description CROWD_GITHUB_APP_ID
123456 GitHub developer app ID. CROWD_GITHUB_CLIENT_ID
WXFZpe4gUSR7ZhiHSu0yuc0yWkeTwY8GGINU7BmLtLQCEN2bP2zrT6glpaSb GitHub OAuth2 client ID for GitHub integration. CROWD_GITHUB_CLIENT_SECRET
dpLTMP0RbSGZeGH9erKkl0GzR7W2iS4BUNLlC9t1LeJa63GhHFqMIuU9QxT155WzxcP6aXBInSzp1NpbtSrvkwxYpAZwR8udj53V GitHub OAuth2 client ID for GitHub integration. CROWD_GITHUB_PRIVATE_KEY
LS0tLS1CRUdJTiBQ...clipped...FhLUT09Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K GitHub private key base 64 encoded into one line. CROWD_GITHUB_WEBHOOK_SECRET
7c2e22ca-24c6-4643-8666-2d1766f018de GitHub webhook verification secret.
For a guide on how to get these values, click here .
For a guide on how to get these values, click here .
Environment variable Example value Description CROWD_REDDIT_CLIENT_ID
0-oy43x9FSgjhEshfuU_Eg Client ID for your Reddit app CROWD_REDDIT_CLIENT_SECRET
jXtHarnskHjlhHPVid0jDIUYO_p4bg Secret for your Reddit app