-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.godrive.json
44 lines (44 loc) · 1.05 KB
/
example.godrive.json
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
{
"dev_mode": false,
"debug": false,
"listen_addr": ":80",
"jwt_secret": "...",
"database": {
// type can be "sqlite" or "postgres"
"type": "postgres",
"debug": false,
// "path" is only used for SQLite
"path": "godrive.db",
// "host", "port", "username", "password", "database", "ssl_mode" are only used for PostgreSQL
"host": "database",
"port": 5432,
"username": "godrive",
"password": "godrive",
"database": "godrive",
"ssl_mode": "disable"
},
"storage": {
// type can be "local" or "s3"
"type": "local",
"debug": false,
// "path" is only used for local storage
"path": "storage",
// "endpoint", "access_key_id", "secret_access_key", "bucket", "region", "secure" are only used for S3 storage
"endpoint": "minio:9000",
"access_key_id": "godrive",
"secret_access_key": "godrive",
"bucket": "godrive",
"region": "",
"secure": false
},
"otel": {
"instance_id": "godrive-dev",
"trace": {
"endpoint": "http://otel-collector:4317/v1/traces",
"insecure": true
},
"metrics": {
"listen_addr": ":2112"
}
}
}