-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
105 lines (105 loc) · 2.23 KB
/
Copy pathconfig.json.example
File metadata and controls
105 lines (105 loc) · 2.23 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
94
95
96
97
98
99
100
101
102
103
104
105
{
"address": ":8080",
"read_timeout": "5m",
"write_timeout": "5m",
"idle_timeout": "1m",
"shutdown_timeout": "15s",
"settings_key": "replace-with-a-different-32-byte-random-secret",
"branding": {
"site_name": "ObjectShare",
"tagline": "",
"logo_url": "",
"header_image_url": "",
"favicon_url": "",
"footer_message": "",
"footer_link_text": "",
"footer_link_url": ""
},
"upload": {
"guest_enabled": true,
"max_files_per_batch": 10
},
"retention": {
"guest_days": 0,
"unpaid_days": 0
},
"email": {
"provider": "none",
"from_address": "",
"from_name": "",
"reply_to": "",
"timeout": "15s",
"smtp": {
"host": "",
"port": 587,
"tls_mode": "starttls",
"username": "",
"password": ""
},
"alibaba": {
"region": "cn-hangzhou",
"access_key_id": "",
"access_key_secret": ""
},
"ses": {
"region": "us-east-1",
"access_key_id": "",
"secret_access_key": "",
"session_token": "",
"configuration_set": ""
}
},
"billing": {
"public_url": "http://localhost:8080",
"credit_currency": "USD",
"min_top_up_credits": 5,
"max_top_up_credits": 1000,
"stripe": {
"enabled": false,
"secret_key": "",
"webhook_secret": ""
},
"paypal": {
"enabled": false,
"environment": "sandbox",
"client_id": "",
"client_secret": "",
"webhook_id": ""
}
},
"auth": {
"jwt_secret": "replace-with-at-least-32-random-bytes",
"token_lifetime": "12h",
"oauth": {
"public_url": "http://localhost:8080",
"google": {
"enabled": false,
"client_id": "",
"client_secret": ""
},
"github": {
"enabled": false,
"client_id": "",
"client_secret": ""
},
"discord": {
"enabled": false,
"client_id": "",
"client_secret": ""
}
}
},
"db": {
"type": "postgres",
"host": "127.0.0.1",
"port": 5432,
"user": "objectshare",
"password": "replace-me",
"database": "objectshare",
"ssl_mode": "require",
"timezone": "UTC",
"max_open_conns": 25,
"max_idle_conns": 5,
"conn_max_lifetime": "30m"
}
}