mirror of
https://github.com/stefanprodan/dockprom.git
synced 2025-05-05 07:22:51 +00:00
feat: expose cadvisor interface through Caddy (#273)
* Expose cAdvisor WebUI through Caddy * Add 8080 to Caddy docker-compose * Update caddy/Caddyfile Co-authored-by: Attila Kerekes <ak@enrg8.com> * refactor: caddyfile formatting Co-authored-by: Attila Kerekes <ak@enrg8.com> Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
This commit is contained in:
parent
9dba592150
commit
a4fc420f4b
@ -1,3 +1,14 @@
|
||||
:3000 {
|
||||
reverse_proxy grafana:3000
|
||||
}
|
||||
|
||||
:8080 {
|
||||
basicauth /* {
|
||||
{$ADMIN_USER} {$ADMIN_PASSWORD_HASH}
|
||||
}
|
||||
reverse_proxy cadvisor:8080
|
||||
}
|
||||
|
||||
:9090 {
|
||||
basicauth /* {
|
||||
{$ADMIN_USER} {$ADMIN_PASSWORD_HASH}
|
||||
@ -15,11 +26,6 @@
|
||||
:9091 {
|
||||
basicauth /* {
|
||||
{$ADMIN_USER} {$ADMIN_PASSWORD_HASH}
|
||||
}
|
||||
|
||||
}
|
||||
reverse_proxy pushgateway:9091
|
||||
}
|
||||
|
||||
:3000 {
|
||||
reverse_proxy grafana:3000
|
||||
}
|
@ -122,6 +122,7 @@ services:
|
||||
container_name: caddy
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "8080:8080"
|
||||
- "9090:9090"
|
||||
- "9093:9093"
|
||||
- "9091:9091"
|
||||
|
Loading…
x
Reference in New Issue
Block a user