forked from flosoft/TeslaETA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Fixes as per comments in flosoft#35"
This reverts commit 13af057.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
services: | ||
teslamate: | ||
image: teslamate/teslamate:latest | ||
restart: always | ||
environment: | ||
- ENCRYPTION_KEY=secretkey #replace with a secure key to encrypt your Tesla API tokens | ||
- DATABASE_USER=teslamate | ||
- DATABASE_PASS=password #insert your secure database password! | ||
- DATABASE_NAME=teslamate | ||
- DATABASE_HOST=database | ||
- MQTT_HOST=mosquitto | ||
ports: | ||
- 4000:4000 | ||
volumes: | ||
- ./dev/import:/opt/app/import | ||
cap_drop: | ||
- all | ||
|
||
database: | ||
image: postgres:16 | ||
restart: always | ||
environment: | ||
- POSTGRES_USER=teslamate | ||
- POSTGRES_PASSWORD=password #insert your secure database password! | ||
- POSTGRES_DB=teslamate | ||
volumes: | ||
- ./dev/teslamate-db:/var/lib/postgresql/data | ||
|
||
mosquitto: | ||
image: eclipse-mosquitto:2 | ||
restart: always | ||
command: mosquitto -c /mosquitto-no-auth.conf | ||
# ports: | ||
# - 1883:1883 | ||
volumes: | ||
- ./dev/mosquitto-conf:/mosquitto/config | ||
- ./dev/mosquitto-data:/mosquitto/data | ||
|
||
networks: | ||
internal: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters