Files
template-fastapi/deploy/configs/api.yaml.jinja
Aleksei Sokol 34c1347402
All checks were successful
Run linters on applied template / Python 3.13 lint and build (push) Successful in 54s
Version 0.2.0
Changes:
- add metrics dispencer
- add basic authentication dependency
- enable GZIP middleware
- add !env() example to deploy section
- update dependencies state attribute name
2025-11-30 16:59:25 +03:00

28 lines
510 B
Django/Jinja

app:
host: 0.0.0.0
port: 8080
debug: true
cors:
allow_origins: ["*"]
allow_methods: ["*"]
allow_headers: ["*"]
allow_credentials: True
db:
master:
host: {{project_slug}}_db
port: 5432
database: {{project_slug}}_db
user: postgres
password: "!env(DB_PASSWORD)"
pool_size: 2
logging:
level: INFO
observability:
prometheus:
host: 0.0.0.0
port: 9090
urls_mapping:
/api/debug/.*: /api/debug/*
jaeger:
endpoint: http://otel:4318/v1/traces