-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
49 lines (38 loc) · 1.74 KB
/
.env.example
File metadata and controls
49 lines (38 loc) · 1.74 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
# OpenBMCLAPI Cluster Configuration Example
# Copy this file to .env and fill in your values
# Required: Get these from bangbang93
CLUSTER_ID=your-cluster-id-here
CLUSTER_SECRET=your-cluster-secret-here
# Optional: Network Configuration
# CLUSTER_IP=your.public.ip.or.domain
CLUSTER_PORT=4000
# CLUSTER_PUBLIC_PORT=4000
# Optional: Advanced Settings
# CLUSTER_BYOC=false
# DISABLE_ACCESS_LOG=false
# ENABLE_NGINX=false
# ENABLE_UPNP=false
# Optional: Storage Configuration
# Default is file storage
CLUSTER_STORAGE=file
# For file storage (default):
# No additional options needed, files are stored in ./cache directory
# For WebDAV storage:
# CLUSTER_STORAGE=webdav
# CLUSTER_STORAGE_OPTIONS={"url":"https://webdav.example.com","username":"user","password":"pass","basePath":"/openbmclapi"}
# For Alist WebDAV storage (with redirect URL caching):
# CLUSTER_STORAGE=alist
# CLUSTER_STORAGE_OPTIONS={"url":"https://alist.example.com","username":"user","password":"pass","basePath":"/openbmclapi","cacheTtl":"3600000"}
# For MinIO storage:
# CLUSTER_STORAGE=minio
# CLUSTER_STORAGE_OPTIONS={"url":"http://accesskey:secretkey@minio.example.com:9000/bucket/prefix"}
# Or with internal URL:
# CLUSTER_STORAGE_OPTIONS={"url":"http://accesskey:secretkey@minio.example.com:9000/bucket","internalUrl":"http://accesskey:secretkey@minio-internal:9000/bucket"}
# For Aliyun OSS storage:
# CLUSTER_STORAGE=oss
# CLUSTER_STORAGE_OPTIONS={"accessKeyId":"your-key","accessKeySecret":"your-secret","bucket":"your-bucket","endpoint":"oss-cn-hangzhou.aliyuncs.com","prefix":"openbmclapi","proxy":"false"}
# Optional: SSL (for BYOC mode)
# SSL_KEY=/path/to/key.pem
# SSL_CERT=/path/to/cert.pem
# Optional: Override master server URL
# CLUSTER_BMCLAPI=https://openbmclapi.bangbang93.com