Copy .env.example to .env and customize if your ports differ from defaults:
cp .env.example .envThe .env file is gitignored — only .env.example is committed.
Variables used by bin/run.sh and scripts/pre-push-checks.sh:
| Variable | Default | Used by |
|---|---|---|
BACKEND_URL |
http://localhost:8080 |
run.sh, env selector |
FRONTEND_PORT |
4200 |
run.sh status |
GRAFANA_PORT |
3000 |
run.sh status |
PROMETHEUS_PORT |
9090 |
run.sh status |
ZIPKIN_PORT |
9411 |
proxy, observability |
LOKI_PORT |
3100 |
proxy, observability |
PYROSCOPE_PORT |
4040 |
run.sh status |
PGADMIN_PORT |
5050 |
run.sh status |
KAFKA_UI_PORT |
9080 |
run.sh status |
REDIS_INSIGHT_PORT |
5540 |
run.sh status |
KEYCLOAK_PORT |
9090 |
run.sh status |
Per the global workflow rule, .env and .env.example must always have the same keys.
When adding a new variable to .env, immediately mirror it in .env.example (with a safe
placeholder value) so new contributors get a working setup.
- Port map — the concrete URLs each variable maps to
- Theming / multi-environment — how the UI lets you switch backend URLs live