.serverenv 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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 used to create customers and payment method in Stripe. If empty all functionality will be disabled.
  48. STRIPE_SECRET_KEY=
  49. # STRIPE_PUBLISHABLE_KEY is used in the frontend to create Stripe Web Elements
  50. STRIPE_PUBLISHABLE_KEY=
  51. # LAGO_API_KEY is used to create customers in Lago. If empty all functionality will be disabled.
  52. LAGO_API_KEY=
  53. # PORTER_CLOUD_PLAN_ID is the id of the starter plan in Lago. Only used if LAGO_API_KEY is set
  54. PORTER_CLOUD_PLAN_CODE=
  55. # PORTER_STANDARD_PLAN_CODE is the id of the standard plan in Lago. Only used if LAGO_API_KEY is set
  56. PORTER_STANDARD_PLAN_CODE=
  57. # PORTER_TRIAL_CODE is the id of the trial plan in Lago. Only used if LAGO_API_KEY is set
  58. PORTER_TRIAL_CODE=
  59. # UPSTASH_ENABLED is used to enable the Upstash integration
  60. UPSTASH_ENABLED=false
  61. # UPSTASH_CLIENT_ID is used to integrate with Upstash
  62. UPSTASH_CLIENT_ID=
  63. # NEON_ENABLED is used to enable the Neon integration
  64. NEON_ENABLED=false
  65. # NEON_CLIENT_ID is used to integrate with Neon
  66. NEON_CLIENT_ID=
  67. # NEON_CLIENT_SECRET is used to integrate with Neon
  68. NEON_CLIENT_SECRET=
  69. # ORY_ENABLED is used to enable the Ory integration
  70. ORY_ENABLED=false
  71. # ORY_URL is the URL for Ory; can be found in 1Password
  72. ORY_URL=
  73. # ORY_API_KEY authenticates with Ory; can be found in 1Password
  74. ORY_API_KEY=