Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 7.21 KB

env.md

File metadata and controls

20 lines (17 loc) · 7.21 KB

Environment Variables

If you're running the app in the cloud, then every environment variable is applicable. If you're running the app locally, then only the environment variables marked with a "✅" in the "Local" column are applicable.

The app considers environment variables with a value of an empty string to be the same as environment variables which were never created.

Key Local Required Explanation Default Example
PORT No The port number to run the server on. 3000 6969
DATABASE_URL No DB URL postgresql://postgres:password@localhost:5432/postgres postgresql://postgres:7sfULiLnEd24p2hwITVt@containers-us-east-20.app:8976/template
RABBITMQ_URL No RabbitMQ URL amqp://guest:guest@localhost:5672 amqp://bob:password@localhost:8080
GRAFANA_CLOUD_ENABLED No If set, then the only possible value is true. If this is true, then logs will be sent to Grafana Cloud Hosted Logs when using the production build (logs will be printed to the console regardless). true
GRAFANA_API_KEY If GRAFANA_CLOUD_ENABLED is true A Grafana.com API key whose Role is set to MetricsPublisher. This can be retrieved from the Grafana Cloud Portal. eyJrIjoiMTc3MDRmYzkxODIwODNiNjM2NzM2NDJkZWIzMWIzZjZiMmFjYjVlZiIs1234567890RpZmljYXRpbty7c3lzdGVtLXRyYW5zYWN0aW9uLWluZ2VzdGVyLXN0YWdpbmciLCJpZCIpo034567890==
GRAFANA_ENV If GRAFANA_CLOUD_ENABLED is true One of dev (such as running the production build locally), staging (such as for running a production build in the hosted staging environment), and prod (such as for running the production build). prod
LOKI_URL If GRAFANA_CLOUD_ENABLED is true The Loki instance's URL. This can be retrieved from the Loki section in Grafana Cloud Portal. https://logs-prod1.grafana.net/loki/api/v1/push
LOKI_USERNAME If GRAFANA_CLOUD_ENABLED is true The Loki instance's username. This can be retrieved from the Loki section in Grafana Cloud Portal. 258884
PROMETHEUS_URL If GRAFANA_CLOUD_ENABLED is true The Prometheus instance's URL. This can be retrieved from the Prometheus section in Grafana Cloud Portal. https://prometheus-prod-5-prod-us-central-4.grafana.net/api/prom/push
PROMETHEUS_USERNAME If GRAFANA_CLOUD_ENABLED is true The Prometheus instance's username. This can be retrieved from the Prometheus section in Grafana Cloud Portal. 999367
TEMPO_URL If GRAFANA_CLOUD_ENABLED is true The Tempo instance's URL. This can be retrieved from the Tempo section in Grafana Cloud Portal. tempo-us-central2.grafana.net:443
TEMPO_USERNAME If GRAFANA_CLOUD_ENABLED is true The Tempo instance's username. This can be retrieved from the Tempo section in Grafana Cloud Portal. 987774