Skip to content

Commit

Permalink
Update docker-compose_example.yml
Browse files Browse the repository at this point in the history
- use Docker container registry
- comments in english
- watchtower
  • Loading branch information
CONSULitAS committed Nov 15, 2024
1 parent 450503d commit 8b921e5
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions docker-compose_example.yml
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 *****

0 comments on commit 8b921e5

Please sign in to comment.