opendtu-logger/docker/compose.yml
Pieter Hollander 3556e401bc
Some checks failed
Build Golang packages / release (push) Waiting to run
Build Docker image / build (push) Has been cancelled
Add configurable LOG_LEVEL env vars.
2024-07-27 00:42:51 +02:00

26 lines
No EOL
664 B
YAML

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