Pieter Hollander
48d0382b0e
BREAKING: Migrate opendtu to opendtu_address Add authentication capability for locked-down opendtu's. Updated setup examples with new variables.
25 lines
No EOL
634 B
YAML
25 lines
No EOL
634 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}
|
|
depends_on:
|
|
timescaledb:
|
|
condition: service_healthy
|
|
networks:
|
|
- internal
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
networks:
|
|
internal:
|
|
attachable: true |