opendtu-logger/docker/compose.yml

22 lines
No EOL
498 B
YAML

version: '3.8'
services:
opendtu-logger:
restart: always
image: git.hollander.online/energy/opendtu-logger:main
environment:
DB_URL: ${DB_URL}
REMOTE_URL: ${REMOTE_URL}
TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED}
TZ: ${TZ}
depends_on:
timescaledb:
condition: service_healthy
networks:
- internal
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
internal:
attachable: true