-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.template
More file actions
36 lines (31 loc) · 978 Bytes
/
.env.template
File metadata and controls
36 lines (31 loc) · 978 Bytes
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
31
32
33
34
35
36
# Rust settings
RUST_LOG=info
# Server settings
SERVER_HOST=0.0.0.0
# SERVER_PORT=9000
# SERVER_METRICS_PORT=9007
# SERVER_REQUEST_TIMEOUT=10s
# Log/Trace settings
LOG_LEVEL=trace
OTEL_LOG_LEVEL=trace
# Auth settings
JWT_SECRET=bc3ef5f9b140bfdeb31e7fd183841e06255f6a9e41e422cf267a22f5468d7223
# Postgres settings
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_SCHEMA=rust_simple_chat
POSTGRES_DB=rust-simple-chat
# POSTGRES_CONNECT_TIMEOUT=5s
# POSTGRES_KEEPALIVES=true
# POSTGRES_KEEPALIVES_IDLE=30s
# POSTGRES_TARGET_SESSION_ATTRS=<any/rw>
# POSTGRES_MAX_CONNECTIONS=50
# POSTGRES_CREATE_TIMEOUT=1m
# POSTGRES_WAIT_TIMEOUT=30s
# OTLP settings
# https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#endpoint-urls-for-otlphttp
# OTEL_EXPORTER_OTLP_TRACES_PROTOCOL="http/protobuf"
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://jaeger:4318/v1/traces"
OTEL_SAMPLING_RATIO=1.0