-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.dist.yml
42 lines (34 loc) · 973 Bytes
/
config.dist.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
---
# Server configuration:
server:
# Server listener:
listenAddress: ":8000"
# TLS settings:
# (Threema Safe requires TLS!)
tls:
enable: true
certFile: "serverWithFullChain.crt"
keyFile: "server.key"
# Backup settings:
backups:
# Maximum size of a backup in bytes:
maxBackupBytes: 524288
# Backup expiration in days:
retentionDays: 180
# User accounts for HTTP basic authentication:
# (There is no privilege separation between users. In other words: Every user has access to *all* backups!)
accounts:
jonathan: "byers"
# Use the following storage backend (possible values: "filesystem", "dynamodb"):
storageBackendType: "filesystem"
# Storage backend configuration:
storageBackends:
# Filesystem storage backend:
filesystem:
directory: "./threema-backups/"
permissions: 0600
# DynamoDB storage backend:
# (Requires a pre-configured AWS environment)
dynamodb:
# Table:
table: "eee-safe"