added netdata with auth

This commit is contained in:
2025-10-12 15:21:27 +05:30
parent 0e042156dd
commit 3cf22bbfd8

View File

@@ -171,6 +171,14 @@ http:
- redirect-to-https - redirect-to-https
service: noop@internal service: noop@internal
netdata-http:
rule: "Host(`netdata.aetoskia.com`)"
entryPoints:
- web
middlewares:
- redirect-to-https
service: noop@internal
portainer-http: portainer-http:
rule: "Host(`portainer.aetoskia.com`)" rule: "Host(`portainer.aetoskia.com`)"
entryPoints: entryPoints:
@@ -304,6 +312,16 @@ http:
certResolver: aetoskia certResolver: aetoskia
# Monitoring # Monitoring
netdata:
rule: "Host(`netdata.aetoskia.com`)"
entryPoints:
- websecure
service: netdata-svc
tls:
certResolver: aetoskia
middlewares:
- basic-auth
portainer: portainer:
rule: "Host(`portainer.aetoskia.com`)" rule: "Host(`portainer.aetoskia.com`)"
entryPoints: entryPoints:
@@ -312,9 +330,6 @@ http:
tls: tls:
certResolver: aetoskia certResolver: aetoskia
# ----------------------
# HTTP Services
# ----------------------
services: services:
# ---------------------- # ----------------------
# HTTP Services # HTTP Services
@@ -383,6 +398,11 @@ http:
- url: "http://private-pi:6001" - url: "http://private-pi:6001"
# Monitoring # Monitoring
netdata-svc:
loadBalancer:
servers:
- url: "http://private-pi:7001"
portainer-svc: portainer-svc:
loadBalancer: loadBalancer:
servers: servers: