forked from codex-team/notes.api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp-config.yaml
More file actions
42 lines (36 loc) · 781 Bytes
/
app-config.yaml
File metadata and controls
42 lines (36 loc) · 781 Bytes
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
httpApi:
host: 0.0.0.0
fileSizeLimit: 1000000
port: 1337
allowedOrigins: '*'
cookieSecret: 'secret'
cookieDomain: 'localhost'
oauth2:
google:
clientId: 'client_id'
clientSecret: 'client_secret'
redirectUrl: '/oauth/google/login'
callbackUrl: 'http://localhost:1337/oauth/google/callback'
auth:
accessSecret: 'secret'
accessExpiresIn: 900000
refreshExpiresIn: 2592000000
metrics:
enabled: true
host: 0.0.0.0
port: 9090
logging:
global: info
metricsServer: info
appServer: info
database: info
s3Storage: info
s3:
accessKeyId: 'secret'
secretAccessKey: 'secret'
endpoint: 'http://localhost:9000'
region: 'my-region'
database:
dsn: 'postgres://codex:postgres@postgres:5432/notes'
openai:
token: 'token'