Add example compose

This commit is contained in:
Pieter Hollander 2024-02-21 11:23:38 +01:00
parent 62050699f2
commit d8282c601c
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

21
docker/compose.yml Normal file
View file

@ -0,0 +1,21 @@
version: '3.8'
services:
opendtu-logger:
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