forked from modrinth/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
93 lines (70 loc) · 3.05 KB
/
Copy path.env.example
File metadata and controls
93 lines (70 loc) · 3.05 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# =============================================================================
# Daedalus Client Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your actual values
# Required variables must be set for the application to run
# =============================================================================
# REQUIRED CONFIGURATION
# =============================================================================
# Base URL for CAS objects (public CDN URL where metadata will be served)
BASE_URL=https://cdn.example.com
# Sentry error tracking DSN (get from https://sentry.io)
SENTRY_DSN=https://key@sentry.io/project
# Brand name for metadata files
BRAND_NAME=MyLauncher
# Support email for metadata
SUPPORT_EMAIL=support@example.com
# =============================================================================
# S3 STORAGE CONFIGURATION
# =============================================================================
# S3 bucket name where metadata will be stored
S3_BUCKET_NAME=minecraft-metadata
# S3 region (use "r2" for Cloudflare R2)
# Examples: us-east-1, eu-west-1, ap-southeast-1, r2
S3_REGION=us-east-1
# S3 endpoint URL
# AWS S3: https://s3.amazonaws.com
# Cloudflare R2: https://<account-id>.r2.cloudflarestorage.com
S3_URL=https://s3.amazonaws.com
# S3 access key ID
S3_ACCESS_TOKEN=token
# S3 secret access key
S3_SECRET=secret
# =============================================================================
# OPTIONAL: LOGGING CONFIGURATION
# =============================================================================
# Log output format: "text" or "json"
# Default: text
# LOG_FORMAT=text
# Rust log level filter
# Options: trace, debug, info, warn, error
# Default: info
# RUST_LOG=info
# Betterstack logging token for centralized log management
# Get from https://betterstack.com
# BETTERSTACK_TOKEN=your-betterstack-token
# Betterstack ingestion endpoint URL
# Default: https://in.logs.betterstack.com
# BETTERSTACK_URL=https://in.logs.betterstack.com
# =============================================================================
# OPTIONAL: CLOUDFLARE INTEGRATION
# =============================================================================
# Enable Cloudflare cache purging on updates
# Default: false
# CLOUDFLARE_INTEGRATION=true
# Cloudflare API token (required if CLOUDFLARE_INTEGRATION=true)
# Create at: https://dash.cloudflare.com/profile/api-tokens
# Required permissions: Zone.Cache Purge
# CLOUDFLARE_TOKEN=your-cloudflare-token
# Cloudflare zone ID (required if CLOUDFLARE_INTEGRATION=true)
# Find in: Zone Overview > API section
# CLOUDFLARE_ZONE_ID=your-zone-id
# =============================================================================
# OPTIONAL: ADVANCED CONFIGURATION
# =============================================================================
# Local directory for CDN file uploads
# Default: ./upload_cdn
# CDN_UPLOAD_DIR=./upload_cdn
# Force reprocessing of all NeoForge versions (useful for debugging)
# Default: false
# FORCE_REPROCESS=false