revolt init + grafana monitoring

This commit is contained in:
2024-07-18 15:15:59 -06:00
parent d3571e2bc7
commit 019b71610e
10 changed files with 488 additions and 0 deletions

42
Revolt/Caddyfile Normal file
View File

@@ -0,0 +1,42 @@
{
admin :2019
servers {
metrics
}
}
// {$HOSTNAME} {
:80 {
route /api* {
uri strip_prefix /api
reverse_proxy http://api:8000
}
route /ws {
@upgrade {
header Connection *Upgrade*
header Upgrade websocket
}
uri strip_prefix /ws
reverse_proxy @upgrade http://events:9000
}
route /autumn* {
uri strip_prefix /autumn
reverse_proxy http://autumn:3000
}
route /january* {
uri strip_prefix /january
reverse_proxy http://january:7000
}
route /stats* {
uri strip_prefix /stats
reverse_proxy http://grafana:3000
}
reverse_proxy http://web:5000
}