-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
31 lines (27 loc) · 780 Bytes
/
config.yaml
File metadata and controls
31 lines (27 loc) · 780 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
app:
title: "SaaS Skeleton"
version: "0.1.0"
uvicorn:
host: "0.0.0.0"
port: 8000
cors:
allow_credentials: true
allow_origins:
- "https://saas-skeleton.flacsy.dev"
- "http://localhost:5173"
allow_methods: ["GET", "POST", "PUT", "DELETE", "PATCH"]
allow_headers: ["Content-Type", "Authorization"]
expose_headers: []
security_headers:
hsts_max_age: 31536000
x_frame_options: "DENY"
x_content_type_options: "nosniff"
referrer_policy: "strict-origin-when-cross-origin"
content_security_policy: "default-src 'self'; frame-ancestors 'none'"
logging:
level: 20
format: "%(asctime)s - %(levelname)s - %(message)s"
ignore_endpoints: ["/api/docs", "/api/redoc", "/api/openapi.json"]
dev_mode: false
log_to_console: true
logs_dir: "./logs"