-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (61 loc) · 3.08 KB
/
Copy path.env.example
File metadata and controls
61 lines (61 loc) · 3.08 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
VOICECAN_DEPLOYMENT_PROFILE=development
# Use `intranet` only on a trusted internal network. It permits private-address HTTP
# for the public URL, connector, firmware source, provisioning/OAuth origins, and Webhooks.
VOICECAN_HOST=0.0.0.0
VOICECAN_PORT=8787
VOICECAN_DATA_DIR=./data
VOICECAN_PUBLIC_BASE_URL=http://127.0.0.1:8787
# Optional override. When blank, provisioning advertises ws:// using the request host or an auto-detected LAN IPv4.
VOICECAN_DEVICE_WSS_URL=
# Optional fallback when the Admin is opened through localhost or 127.0.0.1.
VOICECAN_DEVICE_ADVERTISE_HOST=
# Public HTTPS deployment of packages/device-connect-web (loopback HTTP is allowed for development only).
VOICECAN_CONNECT_WEB_URL=https://connect.voice-can.com/
# Configurable official source used only by the explicit "Import official firmware" action.
VOICECAN_OFFICIAL_FIRMWARE_SOURCE_URL=https://api.voice-can.com/
# Optional local firmware repository directory (defaults to VOICECAN_DATA_DIR/firmware).
# VOICECAN_FIRMWARE_DIR=./data/firmware
VOICECAN_SIMULATOR=false
VOICECAN_DRAIN_MS=5000
VOICECAN_ALLOW_PRIVATE_WEBHOOKS=false
VOICECAN_ALLOW_HTTP_WEBHOOKS=false
VOICECAN_MAX_FILE_BYTES=2147483648
VOICECAN_MAX_STORAGE_BYTES=107374182400
VOICECAN_DISK_WARNING_RATIO=0.70
VOICECAN_DISK_STOP_RATIO=0.85
VOICECAN_RECONCILE_INTERVAL_MS=60000
# Detailed rolling-file level. The process console always suppresses info/debug.
VOICECAN_LOG_LEVEL=info
# JSON logs are written to VOICECAN_DATA_DIR/logs/device-server.log; stdout keeps warn/error only.
# Rotation keeps at most 10 files including the active file, each up to 10 MiB.
VOICECAN_LOG_FILE=true
# VOICECAN_LOG_DIR=./data/logs
VOICECAN_LOG_MAX_BYTES=10485760
VOICECAN_LOG_MAX_FILES=10
# Comma-separated proxy-addr rules. Configure only the reverse proxies that can
# connect directly to Device Server; production examples use private proxy ranges.
# VOICECAN_TRUST_PROXY=loopback,linklocal,uniquelocal
# Production PostgreSQL (omit for single-instance SQLite Edge):
# VOICECAN_DATABASE_URL=postgres://voicecan:password@postgres:5432/voicecan
# VOICECAN_DATABASE_POOL_MAX=20
# Required on every instance while PostgreSQL setup is pending; inject as a secret:
# VOICECAN_SETUP_TOKEN=
# Recommended for stateless multi-instance deployments; JSON contains base64url 32-byte keys:
# VOICECAN_MASTER_KEYRING_JSON='{"current_version":1,"keys":{"1":"..."}}'
# VOICECAN_GROUP_TOKEN_PEPPER=
# VOICECAN_STORAGE_DRIVER=s3_direct
# Temporary-link delivery: gateway permits local streaming only at the dedicated URL;
# external_object_only requires s3_direct and keeps Device Server out of the byte path.
VOICECAN_DOWNLOAD_DELIVERY_MODE=gateway
VOICECAN_DOWNLOAD_GRANT_DEFAULT_TTL_SECONDS=300
VOICECAN_DOWNLOAD_GRANT_MIN_TTL_SECONDS=60
VOICECAN_DOWNLOAD_GRANT_MAX_TTL_SECONDS=900
VOICECAN_S3_DOWNLOAD_REDIRECT_TTL_SECONDS=45
VOICECAN_OAUTH_ACCESS_TOKEN_TTL_SECONDS=900
VOICECAN_OAUTH_REFRESH_TOKEN_TTL_SECONDS=2592000
# VOICECAN_S3_ENDPOINT=https://minio.example.com
# VOICECAN_S3_REGION=us-east-1
# VOICECAN_S3_BUCKET=voicecan-recordings
# VOICECAN_S3_ACCESS_KEY_ID=
# VOICECAN_S3_SECRET_ACCESS_KEY=
# VOICECAN_S3_FORCE_PATH_STYLE=true