I have 5 docker containers (prometheus, alert manager, snmp-exporter, etc)
and install caddy in docker compose.
But not have https redirect
My current config Caddyfile
(basic-auth) {
basicauth /* {
{$ADMIN_USER} {$ADMIN_PASSWORD_HASH}
}
}
:9090 {
import basic-auth
reverse_proxy prometheus:9090
}
:9093 {
import basic-auth
reverse_proxy alertmanager:9093
}
:9091 {
import basic-auth
reverse_proxy pushgateway:9091
}
:3000 {
reverse_proxy grafana:3000
}
grafana, pushegateway and etc all my containers bind on IP 192.168.3.219