.serverenv 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. # Domain we use to generate custom subdomains from
  14. APP_ROOT_DOMAIN=withporter.run
  15. # Controls which external dns provider to use
  16. # Specific clients may require extra tokens
  17. # Options: cloudflare, powerdns, or empty string
  18. DNS_PROVIDER=powerdns
  19. # Cloudflare DNS provider
  20. # if set, can be used as an alternative to PowerDNS
  21. # Create a token here: https://dash.cloudflare.com/profile/api-tokens
  22. CLOUDFLARE_API_TOKEN=<cloudflare-edit-dns-api-token>
  23. # Github Login OAuth. More information found at https://docs.porter.run/enterprise/self-hosted/integrations/github#setting-up-github-repository-integrations
  24. GITHUB_LOGIN_ENABLED=false
  25. # Github App for repo deployments, and preview environments. Remove these if you are not using preview environments or deploying from a repo locally.
  26. GITHUB_APP_CLIENT_ID=<github_app_id>
  27. GITHUB_APP_CLIENT_SECRET=<github_secret>
  28. GITHUB_APP_WEBHOOK_SECRET=<webhook_secret>
  29. GITHUB_APP_NAME=<github_app_name>
  30. GITHUB_APP_ID=<github_app_id>
  31. # 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
  32. GITHUB_APP_SECRET_PATH=<path_to_secret>
  33. # LAUNCHDARKLY_SDK_KEY is used to interact with the launchdarkly api
  34. # Retrieve your SDK key from https://app.launchdarkly.com/settings/projects/dev/environments
  35. FEATURE_FLAG_CLIENT=launch_darkly
  36. LAUNCHDARKLY_SDK_KEY=<launchdarkly_sdk_key>
  37. # Optional parameters
  38. # HELM_APP_REPO_URL=http://chartmuseum:8080 can be used to test charts using porter-charts with Tilt
  39. HELM_APP_REPO_URL=http://chartmuseum:8080
  40. #HELM_APP_REPO_URL=https://charts.getporter.dev
  41. #HELM_ADD_ON_REPO_URL=https://charts.getporter.dev
  42. # SERVER_URL must be set to your ngrok url, If you are using ngrok for your github app setup on the backend
  43. # SERVER_URL=
  44. # TELEMETRY\_\* are required if you are piping trace events to the open telemetry collector
  45. TELEMETRY_NAME=porter
  46. TELEMETRY_COLLECTOR_URL=otel-collector:4317
  47. # STRIPE_SECRET_KEY is required if billing is enabled
  48. STRIPE_SECRET_KEY=