Check the WunderGraph Demo for a setup configuration.

Environment variableDescriptionDefaultRequired
HOSTThe host of the serverlocalhost
DATABASE_URLThe connection URL of the databasepostgresql://postgres:changeme@localhost:5432/controlplane
PORTThe port on which the controlplane runs3001
ALLOWED_ORIGINSThe controlplane urlhttp://localhost:3000
LOG_LEVELConfigures the log levelinfo
DEBUG_SQLConfigures the logs of SQLfalse
CLICKHOUSE_DSNThe connection URL of clickhouse""
AUTH_REDIRECT_URIThe authorized redirect URLshttp://localhost:3001/v1/auth/callback
WEB_BASE_URLThe URL of studio""
AUTH_JWT_SECRETThe JWT secret used for verifying and signing JWTs (32 characters)""
OPENAI_API_KEYThe api key of OPEN API""
KC_LOGIN_REALMThe realm of the login credentials”master”
KC_REALMThe keycloak realm of your Client""
KC_CLIENT_IDThe keycloak client ID""
KC_ADMIN_USERThe admin username""
KC_ADMIN_PASSWORDThe admin password""
KC_API_URLThe URL to your keycloak API endpoint. Used internally for administration""
KC_FRONTEND_URLThe public URL of your keycloak instance. Used for redirects""
WEBHOOK_URLThe endpoint to which you want to fire platform webhooks""
WEBHOOK_SECRETThe secret key to verify webhook requests""
DB_URLPostgres connection string""
DB_CERT_PATHPath to certificate file""
DB_CA_PATHPath to the CA file""
DB_KEY_PATHPath to the private key file""
GITHUB_APP_CLIENT_IDGitHub App client id""
GITHUB_APP_CLIENT_SECRETGitHub App client secret""
GITHUB_APP_IDGitHub App id""
GITHUB_APP_PRIVATE_KEYPrivate key of your GitHub App""
GITHUB_APP_WEBHOOK_SECRETWebhook secret of your GitHub App""
SLACK_APP_CLIENT_IDSlack app client id""
SLACK_APP_CLIENT_SECRETSlack app client secret""
S3_STORAGE_URLURL to your s3 storage provider (either include credentials or use S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY)""
S3_REGIONThe region to be used for the s3 bucket”auto”
S3_ENDPOINTThe endpoint to be used falls back to url.Origin""
S3_ACCESS_KEY_IDAccess key id for the bucket (AWS_ACCESS_KEY_ID)""
S3_SECRET_ACCESS_KEYSecress Access key for the bucket (AWS_SECRET_ACCESS_KEY)""
S3_FORCE_PATH_STYLEUsed to enforce path style url resolutiontrue
SMTP_ENABLEDEnable the smtp integrationfalse
SMTP_USERNAMESmtp username""
SMTP_PASSWORDSmtp password""
SMTP_PORTThe port the smtp server listens to
SMTP_HOSTThe host to connect to""
SMTP_SECUREDefines if the connection should use SSL
SMTP_REQUIRE_TLSForces the client to use STARTTLS
STRIPE_SECRET_KEYStripe secret""
STRIPE_WEBHOOK_SECRETStripe webhook secret""
DEFAULT_PLANBased on your custom plans, the name of the default plan""