[feat] add config yaml and env
This commit is contained in:
parent
39f28d8f30
commit
1588efb9ca
6 changed files with 328 additions and 0 deletions
19
config/app.yaml
Normal file
19
config/app.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue