feat(): added compose setup with full observability stack

This commit is contained in:
ITQ
2026-04-18 10:35:06 +03:00
parent 123528dcb9
commit 1ff759b53b
42 changed files with 9717 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
{
log {
output stdout
format json
level INFO
}
}
:80 {
encode gzip zstd
handle_path /static/* {
uri strip_prefix /static
reverse_proxy backend-staticfiles:80 {
fail_duration 30s
max_fails 10
}
}
handle /grafana/* {
reverse_proxy grafana:3000 {
fail_duration 30s
max_fails 10
health_uri /api/health
health_interval 10s
health_timeout 2s
}
}
handle {
request_body {
max_size 5976883
}
reverse_proxy backend:8080 {
fail_duration 30s
max_fails 10
health_uri /ready
health_interval 10s
health_timeout 2s
}
}
}
:8404 {
metrics /metrics
log {
output discard
}
}