-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use Docker container registry - comments in english - watchtower
- Loading branch information
1 parent
450503d
commit 8b921e5
Showing
1 changed file
with
19 additions
and
4 deletions.
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 |
---|---|---|
@@ -1,20 +1,35 @@ | ||
# | ||
# Docker: CONSULitAS/Polestar_2_MQTT_Docker | ||
# | ||
# (C) CONSULitAS, Dr. Jochen Groppe, 2024 - GPL V3 | ||
# | ||
# https://github.com/CONSULitAS/Polestar_2_MQTT_Docker/tree/main | ||
# | ||
# Docker Container with gateway between Polestar API and MQTT | ||
# | ||
# edit values under "environment:" to match your needs | ||
|
||
#version: '3.8' (deprecated) | ||
|
||
services: | ||
polestar2mqtt: | ||
build: . | ||
# build: . # only used for local build | ||
image: consulitas/polestar_2_mqtt_docker:latest | ||
container_name: "polestar2mqtt" | ||
restart: always | ||
environment: | ||
TZ: "Europe/Berlin" | ||
POLESTAR_EMAIL: "xx@xxx" | ||
POLESTAR_PASSWORD: "XXX" | ||
POLESTAR_VIN: "LPSVSEDEEMLxxxxxx" | ||
POLESTAR_CYCLE: 300 # Sekunden | ||
POLESTAR_CYCLE: 300 # seconds | ||
MQTT_BROKER: "192.168.1.100" | ||
MQTT_PORT: "1883" | ||
MQTT_USER: "" # muss leer bleiben, wenn kein Login beim Broker erforderlich | ||
MQTT_PASSWORD: "" # s.o. | ||
MQTT_USER: "" # has to be empty ("") if broker has no password | ||
MQTT_PASSWORD: "" # has to be empty ("") if broker has no password | ||
BASE_TOPIC: "polestar2" | ||
labels: | ||
# automatic update using Watchtower (https://github.com/containrrr/watchtower) highly recommended | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
|
||
# ***** EOF ***** |