Add compose.yml

This commit is contained in:
Pieter Hollander 2024-02-20 16:50:00 +01:00
parent f6cefb4ca2
commit 5ede79a759
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

14
compose.yml Normal file
View file

@ -0,0 +1,14 @@
version: '3.8'
services:
p1-logger:
image: git.hollander.online/energy/p1-logger:main
environment:
MQTT_BROKER: ${MQTT_BROKER}
MQTT_TOPIC: ${MQTT_TOPIC}
MQTT_USERNAME: ${MQTT_USERNAME}
MQTT_PASSWORD: ${MQTT_PASSWORD}
PG_DB: ${PG_DB}
LOG_LEVEL: ${LOG_LEVEL}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro