mirror of
https://github.com/TerrifiedBug/komodo-stacks.git
synced 2026-11-11 02:00:06 +01:00
Sync teslamate-server from Gitea to monorepo
Repository: admin/teslamate-server Timestamp: 2025-04-19_22-18-01 Target directory: projects/teslamate-server
This commit is contained in:
1 parent
cc2b66c039
commit
e28da035ce
4 files changed
+64
No files matched your search
@@ -0,0 +1,9 @@
|
||||
DATABASE_HOST=database
|
||||
DATABASE_NAME=teslamate
|
||||
DATABASE_PASS=redacted
|
||||
DATABASE_USER=teslamate
|
||||
ENCRYPTION_KEY=redacted
|
||||
MQTT_HOST=mosquitto
|
||||
POSTGRES_DB=teslamate
|
||||
POSTGRES_PASSWORD=redacted
|
||||
POSTGRES_USER=teslamate
|
||||
@@ -0,0 +1,2 @@
|
||||
.DS_Store
|
||||
.vscode/
|
||||
@@ -0,0 +1,3 @@
|
||||
# teslamate-server
|
||||
|
||||
This is the teslamate-server Docker Compose stack extracted from the homelab monorepo.
|
||||
@@ -0,0 +1,50 @@
|
||||
services:
|
||||
teslamate:
|
||||
image: teslamate/teslamate:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 4000:4000
|
||||
volumes:
|
||||
- ./import:/opt/app/import
|
||||
cap_drop:
|
||||
- all
|
||||
environment:
|
||||
- DATABASE_USER=${DATABASE_USER:-teslamate}
|
||||
- DATABASE_PASS=${DATABASE_PASS}
|
||||
- DATABASE_NAME=${DATABASE_NAME:-teslamate}
|
||||
- DATABASE_HOST=database
|
||||
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
|
||||
- MQTT_HOST=mosquitto
|
||||
database:
|
||||
image: postgres:15
|
||||
restart: always
|
||||
volumes:
|
||||
- teslamate-db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${DATABASE_USER:-teslamate}
|
||||
- POSTGRES_PASSWORD=${DATABASE_PASS}
|
||||
- POSTGRES_DB=${DATABASE_NAME:-teslamate}
|
||||
grafana:
|
||||
image: teslamate/grafana:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 3001:3000
|
||||
volumes:
|
||||
- teslamate-grafana-data:/var/lib/grafana
|
||||
environment:
|
||||
- DATABASE_USER=${DATABASE_USER:-teslamate}
|
||||
- DATABASE_PASS=${DATABASE_PASS}
|
||||
- DATABASE_NAME=${DATABASE_NAME:-teslamate}
|
||||
- DATABASE_HOST=database
|
||||
mosquitto:
|
||||
image: eclipse-mosquitto:2
|
||||
restart: always
|
||||
command: mosquitto -c /mosquitto-no-auth.conf
|
||||
volumes:
|
||||
- mosquitto-conf:/mosquitto/config
|
||||
- mosquitto-data:/mosquitto/data
|
||||
volumes:
|
||||
teslamate-db:
|
||||
teslamate-grafana-data:
|
||||
mosquitto-conf:
|
||||
mosquitto-data:
|
||||
Reference in new issue
Block a user