From d8282c601c8bfc33b70c1a1ed2a8091fbfc11387 Mon Sep 17 00:00:00 2001 From: Pieter Hollander Date: Wed, 21 Feb 2024 11:23:38 +0100 Subject: [PATCH] Add example compose --- docker/compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker/compose.yml diff --git a/docker/compose.yml b/docker/compose.yml new file mode 100644 index 0000000..5dedd15 --- /dev/null +++ b/docker/compose.yml @@ -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 \ No newline at end of file