From 9a7a4141922bc66e3745fb865d626ef7638b4220 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Silva Date: Wed, 5 Jun 2024 18:06:33 +0100 Subject: [PATCH] Added restart policy to staging compose file --- docker/compose.staging.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/compose.staging.yaml b/docker/compose.staging.yaml index c51163d1..9a86550a 100644 --- a/docker/compose.staging.yaml +++ b/docker/compose.staging.yaml @@ -40,22 +40,26 @@ services: - type: bind source: $HOME/data/arpav-ppcv/netcdf-uncertainty-example target: /home/appuser/data/additional + restart: unless-stopped legacy-db: env_file: - *env-file-legacy-db volumes: - legacy-db-data:/var/lib/postgresql/data + restart: unless-stopped db: env_file: - *env-file-db volumes: - db-data:/var/lib/postgresql/data + restart: unless-stopped martin: env_file: - *env-file-webapp + restart: unless-stopped thredds: image: unidata/thredds-docker:5.4 @@ -80,6 +84,7 @@ services: - type: bind source: /home/arpav/data/arpav-ppcv/netcdf-uncertainty-example target: /additional + restart: unless-stopped volumes: db-data: