-
Notifications
You must be signed in to change notification settings - Fork 1
/
eldim.yml
119 lines (100 loc) · 2.84 KB
/
eldim.yml
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#####
# Web Server Settings
#####
# The port to listen for HTTPS requests on
listenport: 31337
# Show or hide eldim information from HTTP headers
servertokens: true
# Maximum uploaded file size to keep in RAM before using disk
maxuploadram: 100
#####
# TLS Configuration
#####
# The TLS Certificate Chain File
tlschain: "/etc/letsencrypt/live/eldim.example.com/fullchain.pem"
# The TLS Private Key File
tlskey: "/etc/letsencrypt/live/eldim.example.com/privkey.pem"
#####
# Clients
#####
# The file to load the clients from
clientfile: "/etc/eldim/clients.yml"
#####
# Encryption
#####
# The encryption password to use for all file uploads
# encryptionkey: "Insecure" (DEPRECATED)
# Public Keys that will be able to decrypt uploaded files
encryption:
age-id:
- "age17w2a6ad6cccx5kenanamr72e9qzgt5d7vqhvq8rrxx8pc3qt53vq70un5p"
age-ssh:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMAvJvMq0gej+uXqINFrrbqAElw2h32qyxGEBG8ef7vn a-comment"
- "ssh-rsa AAAAB3RSAKeysAreTooLongSoISnippedThisSorrytlCx+PAaDpsD3yQ== another-comment"
#####
# Prometheus
#####
# Enable or disable Prometheus metrics
prometheusenabled: true
# Prometheus Endpoint (/metrics) HTTP Basic Auth Username
prometheusauthuser: "username"
# Prometheus Endpoint (/metrics) HTTP Basic Auth Password
prometheusauthpass: "password"
#####
# Backends
#####
# All the OpenStack Swift Backends
swiftbackends:
-
name: "OVH-Cold"
username: "openStackUser"
apikey: "openStackPassword"
authurl: "https://auth.cloud.ovh.net/v3"
region: "GRA3"
container: "my-logs-cold"
expireseconds: 63072000
-
name: "OVH-Hot"
username: "openStackUser"
apikey: "openStackPassword"
authurl: "https://auth.cloud.ovh.net/v3"
region: "SBG3"
container: "my-logs-hot"
expireseconds: 2592000
# All the Google Cloud Storage Backends
gcsbackends:
-
name: "Example Google Cloud Storage Backend"
bucketname: "eldim-is-awesome"
credsfile: "/etc/eldim/gcs-credentials.json"
# All S3 Storage Backends
s3backends:
-
name: "Minio Play"
endpoint: "play.minio.io"
region: "does-not-matter"
bucketname: "0000eldim"
accesskey: "Q3AM3UQ867SPQQA43P2F"
secretkey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
-
name: "Scaleway Example"
endpoint: "s3.fr-par.scw.cloud"
region: "fr-par"
bucketname: "eldim-bucket"
accesskey: "keyGoesHere"
secretkey: "secretGoesHere"
-
name: "Amazon S3 Example"
endpoint: "s3.amazonaws.com"
region: "eu-central-1"
bucketname: "eldim-in-amazon"
accesskey: "AccessKey"
secretkey: "SecretKey"
-
name: "Backblaze B2 Example"
endpoint: "s3.eu-central-003.backblazeb2.com"
region: "eu-central-003"
bucketname: "b2-bucket-name"
accesskey: "AppKey-keyID"
secretkey: "AppKey-applicationKey"
sendcontentmd5: true # If you use Object Lock (>=1d), this is mandatory