-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (28 loc) · 1.01 KB
/
.env.example
File metadata and controls
36 lines (28 loc) · 1.01 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
31
32
33
34
35
36
# Environment variables can be provided in either an .env file, or the shell environment
# Defaults match `uv run src-auth-perms-sync --help`
# .env file path is CLI-only: `--env-file PATH` (default: .env)
# Sourcegraph instance URL
# Default: https://sourcegraph.com
SRC_ENDPOINT="https://sourcegraph.example.com"
# Access token from a user account with Site Admin permissions
# Generate at: $SRC_ENDPOINT/settings/tokens
# Required
# Default: None
SRC_ACCESS_TOKEN="sgp_..."
# Logging verbosity
# Default: INFO
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# SRC_LOG_LEVEL="DEBUG"
# Concurrent Sourcegraph API worker threads
# Default: 32
# SRC_AUTH_PERMS_SYNC_PARALLELISM=32
# Max attempts per HTTP request before giving up
# Default: 5
# SRC_AUTH_PERMS_SYNC_MAX_ATTEMPTS=5
# With mutating commands: skip before/after snapshots and validation
# Default: false
# SRC_AUTH_PERMS_SYNC_NO_BACKUP=false
# Seconds between logging compute resource samples
# Default: 10
# Set 0 to disable
# SRC_AUTH_PERMS_SYNC_SAMPLE_INTERVAL=10