[feat] add config yaml and env

This commit is contained in:
Azamat 2026-03-20 13:13:21 +03:00
parent 39f28d8f30
commit 1588efb9ca
6 changed files with 328 additions and 0 deletions

19
config/app.yaml Normal file
View file

@ -0,0 +1,19 @@
app:
name: web-python-skelet
env: local
http:
host: 0.0.0.0
port: 8000
api_prefix: /api/v1
logging:
level: INFO
otel:
service_name: web-python-skelet
exporter_endpoint: http://localhost:4318
metric_export_interval: 1000
security:
token_header: X-API-Token