Add example compose
This commit is contained in:
parent
62050699f2
commit
d8282c601c
1 changed files with 21 additions and 0 deletions
21
docker/compose.yml
Normal file
21
docker/compose.yml
Normal 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
|
Loading…
Reference in a new issue