Files
template-fastapi/deploy/configs/api.yaml.jinja
Aleksei Sokol b8acb017fd
Some checks failed
Run linters on applied template / Python 3.13 lint and build (push) Failing after 2m36s
Version 0.3.0
Changes:
- fix double exception message in main request_processing span
- add OpenSearch to Jaeger and OpenTelemetry Logs
- add optional OpenTelemetry Logs Exporter to structlog
- update deploy README
2025-12-06 19:41:33 +03:00

32 lines
604 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
observability:
logging:
level: INFO
exporter:
endpoint: http://otel:4317
level: INFO
tls_insecure: true
prometheus:
host: 0.0.0.0
port: 9090
urls_mapping:
/api/debug/.*: /api/debug/*
jaeger:
endpoint: http://otel:4318/v1/traces