p1-logger/compose.yml
Pieter Hollander 7abe076fd2
Some checks failed
Build Docker image / build (push) Has been cancelled
Make using TimescaleDB optional.
2024-02-20 18:04:30 +01:00

15 lines
No EOL
445 B
YAML

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}
TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED}
LOG_LEVEL: ${LOG_LEVEL}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro