Settings in .env¶
.env holds every setting the stack reads. make env (scripts/setup-env) creates it from .env.example, in the same order and with the same comments, and on every later run keeps the values already in .env and adds settings that are new (Security).
What make env writes for each kind of value in .env.example:
In .env.example |
In .env |
|---|---|
| A plain value | The value, which you may change |
generate:hex, generate:token, generate:uuid, optionally with a prefix (generate:token:sk-) |
A fresh random secret, made once and then kept |
basic-auth:USER_KEY:PASSWORD_KEY |
base64 of the two settings' values joined by a colon, recomputed on every run |
| Empty | Empty, for you to fill in, such as a provider's key |
Settings in .env that .env.example doesn't have, such as keys you add, are kept at the end of the file.
The settings, as .env.example groups and describes them:
The stack as a whole¶
The host address published ports bind to. 127.0.0.1 keeps every service reachable from this machine only.
| Setting | In .env.example |
|---|---|
STACKR_BIND |
127.0.0.1 |
The deployment environment telemetry is labelled with (deployment.environment.name), when an application doesn't set its own.
| Setting | In .env.example |
|---|---|
STACKR_ENVIRONMENT |
local |
The recipe: this machine, or a single host¶
How make runs the stack:
local: on this machine, for development (default)host: a single host, behind Caddy (deploy/host/compose.prod.yaml), on the
postgres adapter with the auth profile: deploy/host/bootstrap sets it
| Setting | In .env.example |
|---|---|
STACKR_RECIPE |
local |
On a single host, the domain Caddy serves: app.
| Setting | In .env.example |
|---|---|
STACKR_DOMAIN |
Empty |
Empty for certificates from Let's Encrypt; tls internal for Caddy's own CA.
| Setting | In .env.example |
|---|---|
CADDY_TLS |
Empty |
The editors of the native files' apps the application runs, each at gridcraft.example.com, pdfcraft.example.com. None by default.
| Setting | In .env.example |
|---|---|
STACKR_EDITOR_HOSTS |
Empty |
Where Caddy publishes 80 and 443, as STACKR_BIND is for the rest: this machine only by default. Set a LAN address, or 0.0.0.0, only on purpose: on the host users reach, deploy/host/bootstrap sets 0.0.0.0.
| Setting | In .env.example |
|---|---|
STACKR_EDGE_BIND |
127.0.0.1 |
On a single host, the S3-compatible bucket, off the host, that make backup (pgBackRest and ClickHouse's BACKUP) writes to and the restore drill reads. The endpoint is a host name, reached over HTTPS on the port, path-style.
| Setting | In .env.example |
|---|---|
BACKUP_S3_ENDPOINT |
Empty |
BACKUP_S3_PORT |
443 |
BACKUP_S3_BUCKET |
Empty |
BACKUP_S3_REGION |
us-east-1 |
BACKUP_S3_ACCESS_KEY_ID |
Empty |
BACKUP_S3_SECRET_ACCESS_KEY |
Empty |
The CA bundle, on this host, the store's certificate is checked against: the host's own, unless the store's certificate is signed by a CA of its own.
| Setting | In .env.example |
|---|---|
BACKUP_S3_CA_FILE |
/etc/ssl/certs/ca-certificates.crt |
Encrypts PostgreSQL's backups before they leave the host. Without it, they can't be restored: keep it, with the rest of .env, somewhere off the host.
| Setting | In .env.example |
|---|---|
BACKUP_CIPHER_PASS |
Generated: 43 URL-safe characters |
The ClickHouse user the backups and the restore drill run as.
| Setting | In .env.example |
|---|---|
CLICKHOUSE_BACKUP_PASSWORD |
Generated: 64 hex characters |
Observability¶
Grafana signs in as admin with this password.
| Setting | In .env.example |
|---|---|
GRAFANA_ADMIN_PASSWORD |
Generated: 43 URL-safe characters |
Published ports. Applications send OTLP to the Collector on 4317 (gRPC) or 4318 (HTTP), and profiles to Pyroscope on 4040; portalr reads Prometheus through prom-label-proxy on 9091.
| Setting | In .env.example |
|---|---|
OTLP_GRPC_PORT |
4317 |
OTLP_HTTP_PORT |
4318 |
PYROSCOPE_PORT |
4040 |
GRAFANA_PORT |
3000 |
PROMETHEUS_PORT |
9090 |
PROM_LABEL_PROXY_PORT |
9091 |
TEMPO_PORT |
3200 |
LOKI_PORT |
3100 |
Database: the PostgreSQL port¶
The PostgreSQL adapter the stack's services keep their databases on:
supabase: local Supabase, started bymake upthrough its CLI (default)postgres: plain PostgreSQL, thepostgresprofile
db-init creates a role and a database for each service on either.
| Setting | In .env.example |
|---|---|
STACKR_DATABASE |
supabase |
The plain PostgreSQL adapter's admin password and published port. Local Supabase's are fixed: postgres, on port 54322.
| Setting | In .env.example |
|---|---|
POSTGRES_ADMIN_PASSWORD |
Generated: 64 hex characters |
POSTGRES_PORT |
55432 |
Identity: GoTrue, the auth profile¶
Supabase's auth server alone, on the postgres adapter (local Supabase runs its own). AUTH_PUBLIC_URL is where users and applications reach it, and its tokens' issuer; on a single host, https://auth.<your host>.
| Setting | In .env.example |
|---|---|
AUTH_PORT |
9999 |
AUTH_PUBLIC_URL |
http://localhost:9999 |
Where its emails send people back to: the application.
| Setting | In .env.example |
|---|---|
AUTH_SITE_URL |
http://localhost:8800 |
AUTH_DB_PASSWORD |
Generated: 64 hex characters |
The ES256 key set it signs tokens with, and the service role's key, a JWT signed with it for the admin API. Made together: to replace them, delete both.
| Setting | In .env.example |
|---|---|
AUTH_JWT_KEYS |
Generated: an ES256 key set, as JSON |
AUTH_SERVICE_ROLE_KEY |
Generated: a JWT signed with AUTH_JWT_KEYS's key |
GoTrue requires a shared secret too, though nothing is signed with it.
| Setting | In .env.example |
|---|---|
AUTH_JWT_SECRET |
Generated: 64 hex characters |
The SMTP server GoTrue sends invitations and password resets through. Optional: without one, it sends no email.
| Setting | In .env.example |
|---|---|
AUTH_SMTP_HOST |
Empty |
AUTH_SMTP_PORT |
587 |
AUTH_SMTP_USER |
Empty |
AUTH_SMTP_PASSWORD |
Empty |
AUTH_SMTP_SENDER |
Empty |
The Redis protocol, with Valkey¶
| Setting | In .env.example |
|---|---|
REDIS_PASSWORD |
Generated: 64 hex characters |
Object storage: the S3 port, with MinIO¶
| Setting | In .env.example |
|---|---|
S3_ACCESS_KEY_ID |
stackr |
S3_SECRET_ACCESS_KEY |
Generated: 64 hex characters |
S3_REGION |
auto |
MINIO_PORT |
9000 |
MINIO_CONSOLE_PORT |
9001 |
Langfuse¶
| Setting | In .env.example |
|---|---|
LANGFUSE_PORT |
3300 |
LANGFUSE_DB_PASSWORD |
Generated: 64 hex characters |
CLICKHOUSE_PASSWORD |
Generated: 64 hex characters |
ClickHouse's admin, for operators, from inside its container only.
| Setting | In .env.example |
|---|---|
CLICKHOUSE_ADMIN_PASSWORD |
Generated: 64 hex characters |
portalr's analytics (lattice RFC-0008, ADR-0044): the writer's and the reader's ClickHouse passwords, each limited to analytics.events, and how many days an event is kept.
| Setting | In .env.example |
|---|---|
CLICKHOUSE_ANALYTICS_WRITER_PASSWORD |
Generated: 64 hex characters |
CLICKHOUSE_ANALYTICS_PASSWORD |
Generated: 64 hex characters |
ANALYTICS_RETENTION_DAYS |
395 |
The password of Grafana's ClickHouse user, which reads every tenant's analytics for operators' dashboards (ADR-0048).
| Setting | In .env.example |
|---|---|
CLICKHOUSE_GRAFANA_PASSWORD |
Generated: 64 hex characters |
ClickHouse's HTTP interface, on 127.0.0.1 only, for portalr's analytics in make serve.
| Setting | In .env.example |
|---|---|
CLICKHOUSE_HTTP_PORT |
8123 |
SALT and ENCRYPTION_KEY must never change once Langfuse has data.
| Setting | In .env.example |
|---|---|
LANGFUSE_SALT |
Generated: 43 URL-safe characters |
LANGFUSE_ENCRYPTION_KEY |
Generated: 64 hex characters |
LANGFUSE_NEXTAUTH_SECRET |
Generated: 43 URL-safe characters |
Created on first start: an organisation and project, the project's API keys, and an admin user who signs in with this email and password.
| Setting | In .env.example |
|---|---|
LANGFUSE_INIT_ORG_ID |
stackr |
LANGFUSE_INIT_PROJECT_ID |
stackr |
LANGFUSE_PUBLIC_KEY |
Generated: pk-lf- and a UUID |
LANGFUSE_SECRET_KEY |
Generated: sk-lf- and a UUID |
LANGFUSE_ADMIN_EMAIL |
admin@stackr.local |
LANGFUSE_ADMIN_PASSWORD |
Generated: 43 URL-safe characters |
The Collector's credentials for Langfuse's OTLP endpoint, derived from the project's keys.
| Setting | In .env.example |
|---|---|
LANGFUSE_OTLP_AUTH |
Derived: base64 of LANGFUSE_PUBLIC_KEY:LANGFUSE_SECRET_KEY, for HTTP Basic |
The LLM gateway: LiteLLM¶
| Setting | In .env.example |
|---|---|
LITELLM_PORT |
4400 |
The master key administers the proxy (teams, keys, the admin UI at /ui, as admin); applications use team keys from scripts/create-tenant instead.
| Setting | In .env.example |
|---|---|
LITELLM_MASTER_KEY |
Generated: sk- and 43 URL-safe characters |
Encrypts credentials the proxy stores; must never change.
| Setting | In .env.example |
|---|---|
LITELLM_SALT_KEY |
Generated: 43 URL-safe characters |
LITELLM_DB_PASSWORD |
Generated: 64 hex characters |
Provider keys. A model whose key is empty fails; the others still work.
| Setting | In .env.example |
|---|---|
ANTHROPIC_API_KEY |
Empty |
OPENAI_API_KEY |
Empty |
GEMINI_API_KEY |
Empty |
OPENROUTER_API_KEY |
Empty |
Local model servers on this machine, as the gateway's container sees them.
| Setting | In .env.example |
|---|---|
LM_STUDIO_API_BASE |
http://host.docker.internal:1234/v1 |
OMLX_API_BASE |
http://host.docker.internal:4243/v1 |
The model groups applications ask for, default and fast: providers (the provider models above) or upstream, another OpenAI-compatible gateway, such as one of your own in front of your own models (ADR-0047). For upstream, its URL and key, its models for the two groups, and, if its certificate is signed by an authority of your own, that authority's PEM file, a path on this machine: the gateway then trusts it alone.
| Setting | In .env.example |
|---|---|
STACKR_GATEWAY_MODELS |
providers |
STACKR_UPSTREAM_URL |
Empty |
STACKR_UPSTREAM_API_KEY |
Empty |
STACKR_UPSTREAM_DEFAULT_MODEL |
Empty |
STACKR_UPSTREAM_FAST_MODEL |
Empty |
STACKR_UPSTREAM_CA |
Empty |
Task trackers: the opt-in recipes, trackers/ (lattice RFC-0004)¶
make tracker-up TRACKER=plane or TRACKER=vikunja, beside the stack.
Plane's Community edition, at PLANE_URL, where people reach it, published on PLANE_PORT. Its API allows each key PLANE_API_KEY_RATE_LIMIT requests; its webhooks go only to PLANE_WEBHOOK_HOSTS, the application's name on the stackr network (Plane takes only a name with a dot in it).
| Setting | In .env.example |
|---|---|
PLANE_PORT |
3800 |
PLANE_URL |
http://localhost:3800 |
PLANE_SECRET_KEY |
Generated: 43 URL-safe characters |
PLANE_DB_PASSWORD |
Generated: 64 hex characters |
PLANE_MQ_PASSWORD |
Generated: 64 hex characters |
PLANE_API_KEY_RATE_LIMIT |
300/minute |
PLANE_WEBHOOK_HOSTS |
app.stackr.internal |
Celery's worker processes, which deliver webhooks; one per CPU by default.
| Setting | In .env.example |
|---|---|
PLANE_WORKER_CONCURRENCY |
2 |
Vikunja, at VIKUNJA_URL, published on VIKUNJA_PORT. Sign-up stays off: the operator makes each tenant's user (the tracker guide).
| Setting | In .env.example |
|---|---|
VIKUNJA_PORT |
3456 |
VIKUNJA_URL |
http://localhost:3456 |
VIKUNJA_SECRET |
Generated: 43 URL-safe characters |
VIKUNJA_DB_PASSWORD |
Generated: 64 hex characters |
VIKUNJA_REGISTRATION |
false |
Umami (ADR-0050), with the umami profile, on the plain PostgreSQL adapter: its database role's password, its own secret, its admin's password, portalr's user's password (which the application's PORTAL_UMAMI_PASSWORD copies), and the website portalr's relay sends to (PORTAL_UMAMI_WEBSITE_ID). Its UI is on 127.0.0.1 only, for operators.
| Setting | In .env.example |
|---|---|
UMAMI_DB_PASSWORD |
Generated: 64 hex characters |
UMAMI_APP_SECRET |
Generated: 64 hex characters |
UMAMI_ADMIN_PASSWORD |
Generated: 64 hex characters |
UMAMI_PORTALR_PASSWORD |
Generated: 64 hex characters |
UMAMI_WEBSITE_ID |
Generated: a UUID |
Whether portalr's website keeps session replays: false until the privacy review is signed off (portalr ADR-0077); the application's PORTAL_REPLAY must be true as well.
| Setting | In .env.example |
|---|---|
UMAMI_REPLAY |
false |
UMAMI_PORT |
3400 |
How many days Umami's replays are kept: older ones are deleted every six hours, whether or not UMAMI_REPLAY is true (deploy/umami/retention, portalr ADR-0077). Their sessions and journeys stay. 0 keeps them for ever; at most 36500.
| Setting | In .env.example |
|---|---|
UMAMI_REPLAY_RETENTION_DAYS |
30 |
The file¶
The whole file: .env.example
# stackr's local settings.
#
# `make env` (scripts/setup-env) copies this file to `.env` and replaces every
# `generate:...` value with a fresh secret. Running it again keeps the values
# already in `.env` and adds keys that are new here. Never commit `.env`.
#
# Everything here is for local development and single hosts.
# The host address published ports bind to. 127.0.0.1 keeps every service
# reachable from this machine only.
STACKR_BIND=127.0.0.1
# The deployment environment telemetry is labelled with
# (deployment.environment.name), when an application doesn't set its own.
STACKR_ENVIRONMENT=local
# --- the recipe: this machine, or a single host ---------------------------------
# How `make` runs the stack:
# local on this machine, for development (default)
# host a single host, behind Caddy (deploy/host/compose.prod.yaml), on the
# postgres adapter with the auth profile: `deploy/host/bootstrap` sets it
STACKR_RECIPE=local
# On a single host, the domain Caddy serves: app.<domain> and auth.<domain>.
STACKR_DOMAIN=
# Empty for certificates from Let's Encrypt; `tls internal` for Caddy's own CA.
CADDY_TLS=
# The editors of the native files' apps the application runs, each at
# <app>.<domain>, with a DNS record of its own: `gridcraft.example.com,
# pdfcraft.example.com`. None by default.
STACKR_EDITOR_HOSTS=
# Where Caddy publishes 80 and 443, as STACKR_BIND is for the rest: this
# machine only by default. Set a LAN address, or 0.0.0.0, only on purpose: on
# the host users reach, `deploy/host/bootstrap` sets 0.0.0.0.
STACKR_EDGE_BIND=127.0.0.1
# On a single host, the S3-compatible bucket, off the host, that `make backup`
# (pgBackRest and ClickHouse's BACKUP) writes to and the restore drill reads.
# The endpoint is a host name, reached over HTTPS on the port, path-style.
BACKUP_S3_ENDPOINT=
BACKUP_S3_PORT=443
BACKUP_S3_BUCKET=
BACKUP_S3_REGION=us-east-1
BACKUP_S3_ACCESS_KEY_ID=
BACKUP_S3_SECRET_ACCESS_KEY=
# The CA bundle, on this host, the store's certificate is checked against: the
# host's own, unless the store's certificate is signed by a CA of its own.
BACKUP_S3_CA_FILE=/etc/ssl/certs/ca-certificates.crt
# Encrypts PostgreSQL's backups before they leave the host. Without it, they
# can't be restored: keep it, with the rest of .env, somewhere off the host.
BACKUP_CIPHER_PASS=generate:token
# The ClickHouse user the backups and the restore drill run as.
CLICKHOUSE_BACKUP_PASSWORD=generate:hex
# --- observability ---------------------------------------------------------
# Grafana signs in as `admin` with this password.
GRAFANA_ADMIN_PASSWORD=generate:token
# Published ports. Applications send OTLP to the Collector on 4317 (gRPC) or
# 4318 (HTTP), and profiles to Pyroscope on 4040; portalr reads Prometheus
# through prom-label-proxy on 9091.
OTLP_GRPC_PORT=4317
OTLP_HTTP_PORT=4318
PYROSCOPE_PORT=4040
GRAFANA_PORT=3000
PROMETHEUS_PORT=9090
PROM_LABEL_PROXY_PORT=9091
TEMPO_PORT=3200
LOKI_PORT=3100
# --- database: the PostgreSQL port -------------------------------------------
# The PostgreSQL adapter the stack's services keep their databases on:
# supabase local Supabase, started by `make up` through its CLI (default)
# postgres plain PostgreSQL, the `postgres` profile
# db-init creates a role and a database for each service on either.
STACKR_DATABASE=supabase
# The plain PostgreSQL adapter's admin password and published port. Local
# Supabase's are fixed: `postgres`, on port 54322.
POSTGRES_ADMIN_PASSWORD=generate:hex
POSTGRES_PORT=55432
# --- identity: GoTrue, the auth profile ---------------------------------------
# Supabase's auth server alone, on the postgres adapter (local Supabase runs its
# own). AUTH_PUBLIC_URL is where users and applications reach it, and its tokens'
# issuer; on a single host, `https://auth.<your host>`.
AUTH_PORT=9999
AUTH_PUBLIC_URL=http://localhost:9999
# Where its emails send people back to: the application.
AUTH_SITE_URL=http://localhost:8800
AUTH_DB_PASSWORD=generate:hex
# The ES256 key set it signs tokens with, and the service role's key, a JWT
# signed with it for the admin API. Made together: to replace them, delete both.
AUTH_JWT_KEYS=generate:auth-keys
AUTH_SERVICE_ROLE_KEY=generate:auth-service-role:AUTH_JWT_KEYS
# GoTrue requires a shared secret too, though nothing is signed with it.
AUTH_JWT_SECRET=generate:hex
# The SMTP server GoTrue sends invitations and password resets through.
# Optional: without one, it sends no email.
AUTH_SMTP_HOST=
AUTH_SMTP_PORT=587
AUTH_SMTP_USER=
AUTH_SMTP_PASSWORD=
AUTH_SMTP_SENDER=
# --- the Redis protocol, with Valkey -----------------------------------------
REDIS_PASSWORD=generate:hex
# --- object storage: the S3 port, with MinIO ---------------------------------
S3_ACCESS_KEY_ID=stackr
S3_SECRET_ACCESS_KEY=generate:hex
S3_REGION=auto
MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
# --- langfuse ----------------------------------------------------------------
LANGFUSE_PORT=3300
LANGFUSE_DB_PASSWORD=generate:hex
CLICKHOUSE_PASSWORD=generate:hex
# ClickHouse's admin, for operators, from inside its container only.
CLICKHOUSE_ADMIN_PASSWORD=generate:hex
# portalr's analytics (lattice RFC-0008, ADR-0044): the writer's and the reader's ClickHouse
# passwords, each limited to analytics.events, and how many days an event is kept.
CLICKHOUSE_ANALYTICS_WRITER_PASSWORD=generate:hex
CLICKHOUSE_ANALYTICS_PASSWORD=generate:hex
ANALYTICS_RETENTION_DAYS=395
# The password of Grafana's ClickHouse user, which reads every tenant's analytics for
# operators' dashboards (ADR-0048).
CLICKHOUSE_GRAFANA_PASSWORD=generate:hex
# ClickHouse's HTTP interface, on 127.0.0.1 only, for portalr's analytics in `make serve`.
CLICKHOUSE_HTTP_PORT=8123
# SALT and ENCRYPTION_KEY must never change once Langfuse has data.
LANGFUSE_SALT=generate:token
LANGFUSE_ENCRYPTION_KEY=generate:hex
LANGFUSE_NEXTAUTH_SECRET=generate:token
# Created on first start: an organisation and project, the project's API keys,
# and an admin user who signs in with this email and password.
LANGFUSE_INIT_ORG_ID=stackr
LANGFUSE_INIT_PROJECT_ID=stackr
LANGFUSE_PUBLIC_KEY=generate:uuid:pk-lf-
LANGFUSE_SECRET_KEY=generate:uuid:sk-lf-
LANGFUSE_ADMIN_EMAIL=admin@stackr.local
LANGFUSE_ADMIN_PASSWORD=generate:token
# The Collector's credentials for Langfuse's OTLP endpoint, derived from the
# project's keys.
LANGFUSE_OTLP_AUTH=basic-auth:LANGFUSE_PUBLIC_KEY:LANGFUSE_SECRET_KEY
# --- the LLM gateway: LiteLLM ------------------------------------------------
LITELLM_PORT=4400
# The master key administers the proxy (teams, keys, the admin UI at /ui, as
# `admin`); applications use team keys from scripts/create-tenant instead.
LITELLM_MASTER_KEY=generate:token:sk-
# Encrypts credentials the proxy stores; must never change.
LITELLM_SALT_KEY=generate:token
LITELLM_DB_PASSWORD=generate:hex
# Provider keys. A model whose key is empty fails; the others still work.
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GEMINI_API_KEY=
OPENROUTER_API_KEY=
# Local model servers on this machine, as the gateway's container sees them.
LM_STUDIO_API_BASE=http://host.docker.internal:1234/v1
OMLX_API_BASE=http://host.docker.internal:4243/v1
# The model groups applications ask for, `default` and `fast`: providers (the
# provider models above) or upstream, another OpenAI-compatible gateway, such
# as one of your own in front of your own models (ADR-0047). For upstream, its
# URL and key, its models for the two groups, and, if its certificate is signed
# by an authority of your own, that authority's PEM file, a path on this
# machine: the gateway then trusts it alone.
STACKR_GATEWAY_MODELS=providers
STACKR_UPSTREAM_URL=
STACKR_UPSTREAM_API_KEY=
STACKR_UPSTREAM_DEFAULT_MODEL=
STACKR_UPSTREAM_FAST_MODEL=
STACKR_UPSTREAM_CA=
# --- task trackers: the opt-in recipes, trackers/ (lattice RFC-0004) ---------
# `make tracker-up TRACKER=plane` or `TRACKER=vikunja`, beside the stack.
# Plane's Community edition, at PLANE_URL, where people reach it, published on
# PLANE_PORT. Its API allows each key PLANE_API_KEY_RATE_LIMIT requests; its
# webhooks go only to PLANE_WEBHOOK_HOSTS, the application's name on the
# stackr network (Plane takes only a name with a dot in it).
PLANE_PORT=3800
PLANE_URL=http://localhost:3800
PLANE_SECRET_KEY=generate:token
PLANE_DB_PASSWORD=generate:hex
PLANE_MQ_PASSWORD=generate:hex
PLANE_API_KEY_RATE_LIMIT=300/minute
PLANE_WEBHOOK_HOSTS=app.stackr.internal
# Celery's worker processes, which deliver webhooks; one per CPU by default.
PLANE_WORKER_CONCURRENCY=2
# Vikunja, at VIKUNJA_URL, published on VIKUNJA_PORT. Sign-up stays off: the
# operator makes each tenant's user (the tracker guide).
VIKUNJA_PORT=3456
VIKUNJA_URL=http://localhost:3456
VIKUNJA_SECRET=generate:token
VIKUNJA_DB_PASSWORD=generate:hex
VIKUNJA_REGISTRATION=false
# Umami (ADR-0050), with the umami profile, on the plain PostgreSQL adapter: its database role's
# password, its own secret, its admin's password, portalr's user's password (which the
# application's PORTAL_UMAMI_PASSWORD copies), and the website portalr's relay sends to
# (PORTAL_UMAMI_WEBSITE_ID). Its UI is on 127.0.0.1 only, for operators.
UMAMI_DB_PASSWORD=generate:hex
UMAMI_APP_SECRET=generate:hex
UMAMI_ADMIN_PASSWORD=generate:hex
UMAMI_PORTALR_PASSWORD=generate:hex
UMAMI_WEBSITE_ID=generate:uuid
# Whether portalr's website keeps session replays: false until the privacy review is signed off
# (portalr ADR-0077); the application's PORTAL_REPLAY must be true as well.
UMAMI_REPLAY=false
UMAMI_PORT=3400
# How many days Umami's replays are kept: older ones are deleted every six hours, whether or not
# UMAMI_REPLAY is true (deploy/umami/retention, portalr ADR-0077). Their sessions and journeys stay.
# 0 keeps them for ever; at most 36500.
UMAMI_REPLAY_RETENTION_DAYS=30