-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (18 loc) · 851 Bytes
/
.env.example
File metadata and controls
24 lines (18 loc) · 851 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
# Logging Configuration
# LOG_FORMAT: "json" = force JSON, "line" = force line format, "auto" = TTY detection (default)
LOG_FORMAT=auto
# LOG_LEVEL: DEBUG, INFO, WARNING, ERROR, CRITICAL (default: INFO)
LOG_LEVEL=INFO
# Database
# pragma: allowlist nextline secret
DATABASE_URL=postgresql://user:password@localhost:5432/gitlab_mr_api?options=-c%20search_path%3Dgitlab_mr_api
# Activity API
ACTIVITY_API=http://localhost:3981/
# GitLab Tokens (comma-separated)
GITLAB_TOKENS=token1,token2
# OpenTelemetry (optional)
OTEL_PYTHON_EXCLUDED_URLS=healthz
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
VALID_X_GITLAB_TOKEN=your-webhook-secret-token-1,your-webhook-secret-token-2
# GitLab API tokens for fetching MR discussion stats (requires read_api scope)
GITLAB_API_TOKENS='{"gitlab-saas":{"url":"https://gitlab.com","token":"glpat-xxxxxxxx"}}'