chore(): infrastructure improvements
This commit is contained in:
@@ -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_path /grafana/* {
|
||||
reverse_proxy grafana:3000 {
|
||||
fail_duration 30s
|
||||
max_fails 10
|
||||
health_uri /grafana
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user