-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.03 KB
/
.env.example
File metadata and controls
30 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Plinth starter-api — example env. Copy to .env (gitignored) and edit.
SERVICE_NAME=starter-api
SERVICE_VERSION=0.1.0-dev
MODULE_NAME=items
APP_ENV=dev
HTTP_ADDR=:8080
# Postgres connection. The local docker-compose stack provisions
# starter / starter / starter on port 5432.
DATABASE_URL=postgres://starter:starter@localhost:5432/starter?sslmode=disable
# Cerbos PDP. Plaintext gRPC for local dev; in production set TLS=true
# and supply an in-cluster address.
CERBOS_ADDRESS=localhost:3593
CERBOS_TLS=false
# Set CERBOS_ALLOW_BYPASS=1 to bypass authz entirely (dev only).
# authz.New refuses to start when this is set with APP_ENV=production.
# CERBOS_ALLOW_BYPASS=1
# OTel collector endpoint. Empty disables export. The default in-cluster
# value is http://otel-collector.observability:4318.
OTEL_EXPORTER_OTLP_ENDPOINT=
# When true, audit events go to the in-memory MemoryProducer (visible
# via /debug/audit if you wire that up). False requires a real Producer
# (NATS, Kafka, etc.) — wire it in cmd/server/main.go.
AUDIT_MEMORY=true