2024-02-21 11:23:38 +01:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
opendtu-logger:
|
2024-03-27 10:19:09 +01:00
|
|
|
restart: always
|
2024-07-26 22:42:31 +02:00
|
|
|
image: git.hollander.online/energy/opendtu-logger:latest
|
2024-02-21 11:23:38 +01:00
|
|
|
environment:
|
|
|
|
DB_URL: ${DB_URL}
|
2024-07-26 23:46:19 +02:00
|
|
|
OPENDTU_ADDRESS: ${OPENDTU_ADDRESS}
|
|
|
|
OPENDTU_AUTH: ${OPENDTU_AUTH}
|
|
|
|
OPENDTU_USERNAME: ${OPENDTU_USERNAME}
|
|
|
|
OPENDTU_PASSWORD: ${OPENDTU_PASSWORD}
|
2024-02-21 11:23:38 +01:00
|
|
|
TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED}
|
|
|
|
TZ: ${TZ}
|
2024-07-27 00:42:51 +02:00
|
|
|
LOG_LEVEL: ${LOG_LEVEL}
|
2024-02-21 11:23:38 +01:00
|
|
|
depends_on:
|
|
|
|
timescaledb:
|
|
|
|
condition: service_healthy
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
volumes:
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
|
|
|
networks:
|
|
|
|
internal:
|
|
|
|
attachable: true
|