adjust grafana dashboards and teslamate routing

This commit is contained in:
2025-08-01 13:41:18 +02:00
parent 48025fae12
commit 06cc7755d8
5 changed files with 33 additions and 1175 deletions

View File

@@ -25,7 +25,6 @@ import unprotected authentik host:19000
import unprotected vouch host:9090
import unprotected jellyfin host:8097
import unprotected seafile host:8082
import unprotected grafana host:3333
import unprotected pgadmin host:5050
import unprotected homarr host:17575
import unprotected jellyseerr host:15055
@@ -33,6 +32,7 @@ import unprotected minio host:9000
import unprotected gitea host:3003
import unprotected minio-admin host:9001
import protected grafana host:3333
import protected sonarr host:18989
import protected radarr host:17878
import protected bazarr host:16767
@@ -46,13 +46,12 @@ import protected transmission host:9091
import protected droppy host:8989
import protected filebrowser host:8002
import protected jupyter host:9999
import protected teslamate host:4000
import protected tesla host:3004
import protected nodered host:1880
import sites/root.caddy
import sites/authentik.caddy
import sites/ha.caddy
import sites/tesla.caddy
import sites/geo.caddy
import sites/auth.caddy
import sites/test.caddy

24
caddy/sites/tesla.caddy Normal file
View File

@@ -0,0 +1,24 @@
tesla.{$SUBDOMAIN}.{$DOMAIN} {
log {
output file /var/log/tesla.log
}
import ../conf/authentik.caddy
reverse_proxy host:3004
handle /assets/* {
reverse_proxy http://host:4000
}
handle /live/* {
reverse_proxy http://host:4000
}
handle /settings {
reverse_proxy http://host:4000
}
handle_path /mate* {
reverse_proxy http://host:4000
}
}

View File

@@ -11,6 +11,9 @@ services:
ports:
- 3333:3000
restart: unless-stopped
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- /opt/grafana:/var/lib/grafana
- /opt/grafana/grafana.ini:/etc/grafana/grafana.ini
# - /opt/grafana/grafana.ini:/etc/grafana/grafana.ini

View File

@@ -4,7 +4,7 @@ services:
container_name: teslamate
restart: always
environment:
- ENCRYPTION_KEY=8bzsb7kv9LpFL7tpBexePuZEr6ALCr9d
- ENCRYPTION_KEY=${TESLAMATE_ENCRYPTION_KEY}
- DATABASE_HOST=${TESLAMATE_DATABASE_HOST}
- DATABASE_PORT=${TESLAMATE_DATABASE_PORT}
- DATABASE_USER=${TESLAMATE_DATABASE_USER}
@@ -33,6 +33,8 @@ services:
- DATABASE_USER=${TESLAMATE_DATABASE_USER}
- DATABASE_PASS=${TESLAMATE_DATABASE_PASS}
- DATABASE_NAME=${TESLAMATE_DATABASE_NAME}
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
ports:
- 3004:3000
extra_hosts:

File diff suppressed because it is too large Load Diff