forked from rl-os/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
48 lines (39 loc) · 1016 Bytes
/
config.yaml
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
debug: ${DEBUG|true}
# External services
services:
avatars: 'https://a.localhost'
cheesegull: 'https://storage.localhost'
# API server configuration
server:
host: ${SERVER__HOST|127.0.0.1}
port: ${SERVER__PORT|2100}
cors:
enable: false
allow_origins:
- localhost
allow_headers:
- Origin
- Content-Type
- Accept
sentry:
enable: ${SERVER__SENTRY__ENABLE|false}
dsn: ${SERVER__SENTRY__DSN}
datadog:
enable: ${SERVER__DATADOG__ENABLE|true}
prefix: lazer.
statsd_host: ${SERVER__DATADOG__STATSD_HOST|127.0.0.1:8126}
jwt:
secret: ${SERVER__JWT_SECRET}
hours_before_revoke: 24
database:
driver: ${SERVER__DATABASE__DRIVER|postgres}
dsn: ${SERVER__DATABASE__DSN|postgres://postgres:postgres@/osuserver?sslmode=disable}
redis:
host: ${SERVER__REDIS__HOST|127.0.0.1:6379}
password: ${SERVER__REDIS__PASSWORD|}
db: ${SERVER__REDIS__DB}
mailgun:
domain: ''
private_key: ''
public_key: ''
from: ''