.serverenv 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Fill out this file, and renamed to '.server.env' in order to run this with Tilt
  2. # Required parameters
  3. SQL_LITE=false
  4. DB_NAME=porter
  5. DB_USER=porter
  6. DB_PASSWORD=porter
  7. DB_HOST=postgresql
  8. DB_PORT=5432
  9. # Required for accessing cluster control plane. If ENABLE_CAPI_PROVISIONER=false, nothing in this section will be used
  10. ENABLE_CAPI_PROVISIONER=true
  11. NATS_URL=nats:4222
  12. CLUSTER_CONTROL_PLANE_ADDRESS=http://ccp-web:7833
  13. # Github Login OAuth. More information found at https://docs.porter.run/enterprise/self-hosted/integrations/github#setting-up-github-repository-integrations
  14. GITHUB_LOGIN_ENABLED=false
  15. # Github App for repo deployments, and preview environments. Remove these if you are not using preview environments or deploying from a repo locally.
  16. GITHUB_APP_CLIENT_ID=<github_app_id>
  17. GITHUB_APP_CLIENT_SECRET=<github_secret>
  18. GITHUB_APP_WEBHOOK_SECRET=<webhook_secret>
  19. GITHUB_APP_NAME=<github_app_name>
  20. GITHUB_APP_ID=<github_app_id>
  21. # GITHUB_APP_SECRET_PATH is the path to your secret within the container. Tilt will sync your ~/.ssh/ folder into /app/ssh automatically. This will likely be /app/ssh/your_ssh_pem_name
  22. GITHUB_APP_SECRET_PATH=<path_to_secret>
  23. # LAUNCHDARKLY_SDK_KEY is used to interact with the launchdarkly api
  24. # Retrieve your SDK key from https://app.launchdarkly.com/settings/projects/dev/environments
  25. FEATURE_FLAG_CLIENT=launch_darkly
  26. LAUNCHDARKLY_SDK_KEY=<launchdarkly_sdk_key>
  27. # Optional parameters
  28. # HELM_APP_REPO_URL=http://chartmuseum:8080 can be used to test charts using porter-charts with Tilt
  29. HELM_APP_REPO_URL=http://chartmuseum:8080
  30. #HELM_APP_REPO_URL=https://charts.getporter.dev
  31. #HELM_ADD_ON_REPO_URL=https://charts.getporter.dev
  32. # SERVER_URL must be set to your ngrok url, If you are using ngrok for your github app setup on the backend
  33. # SERVER_URL=
  34. # TELEMETRY\_\* are required if you are piping trace events to the open telemetry collector
  35. TELEMETRY_NAME=porter
  36. TELEMETRY_COLLECTOR_URL=otel-collector:4317