-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
57 lines (51 loc) · 1.09 KB
/
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
49
50
51
52
53
54
55
56
57
app:
debug: false
env: development
host: 0.0.0.0
port: 8080
database:
port: 3306
max_connections: 100
idle_timeout: 300s
connection_timeout: 30s
email:
smtp:
port: 587
from: "[email protected]"
mailgun:
domain: ""
auth:
jwt_secret: "your-secret-here"
jwt_expiry: "24h"
session_name: "session"
session_max_age: 604800
session_secret: "your-session-secret-here"
secure: true
http_only: true
feature_flags:
enable_mailgun: false
enable_smtp: true
enable_metrics: false
beta_features: false
log:
level: info
file: storage/logs/app.log
format: json
rotation:
max_size: 100
max_age: 30
max_backups: 5
compress: true
server:
migrations_path: database/migrations
representative_lookup_base_url: "https://represent.opennorth.ca/api"
timeout: 30s
max_request_size: 10mb
cors:
allowed_origins: ["http://localhost:3000"]
allowed_methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
allowed_headers: ["Content-Type", "Authorization"]
allow_credentials: true
rate_limiting:
requests_per_second: 20
burst_size: 50