Add 'restart: always' to Compose examples.
This commit is contained in:
parent
b1f8319824
commit
1c399f373a
3 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue