diff --git a/docker/compose.with-database-grafana.yml b/docker/compose.with-database-grafana.yml index aec485e..0d473f0 100644 --- a/docker/compose.with-database-grafana.yml +++ b/docker/compose.with-database-grafana.yml @@ -2,6 +2,7 @@ version: '3.8' services: timescaledb: image: timescale/timescaledb:latest-pg16 + restart: always environment: POSTGRES_USER: ${PG_USER} POSTGRES_PASSWORD: ${PG_PASSWORD} @@ -22,6 +23,7 @@ services: opendtu-logger: image: git.hollander.online/energy/opendtu-logger:main + restart: always environment: DB_URL: ${DB_URL} REMOTE_URL: ${REMOTE_URL} diff --git a/docker/compose.with-database.yml b/docker/compose.with-database.yml index f4e1b53..b0a9004 100644 --- a/docker/compose.with-database.yml +++ b/docker/compose.with-database.yml @@ -1,6 +1,7 @@ version: '3.8' services: timescaledb: + restart: always image: timescale/timescaledb:latest-pg16 environment: POSTGRES_USER: ${PG_USER} @@ -21,6 +22,7 @@ services: retries: 20 opendtu-logger: + restart: always image: git.hollander.online/energy/opendtu-logger:main environment: DB_URL: ${DB_URL} diff --git a/docker/compose.yml b/docker/compose.yml index 5dedd15..d25a958 100644 --- a/docker/compose.yml +++ b/docker/compose.yml @@ -1,6 +1,7 @@ version: '3.8' services: opendtu-logger: + restart: always image: git.hollander.online/energy/opendtu-logger:main environment: DB_URL: ${DB_URL}