From 5d1dddfac82091c4a1c7db31b5f2a02509e41865 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Tue, 12 Jan 2021 00:40:49 +0100 Subject: [PATCH] unless-stopped in local dockerfiles --- docker-compose.postgres.yml | 6 +++--- docker-compose.sqlite.yml | 4 ++-- docker-compose.tika.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.postgres.yml b/docker-compose.postgres.yml index 59ae28939..53fea9e28 100644 --- a/docker-compose.postgres.yml +++ b/docker-compose.postgres.yml @@ -2,11 +2,11 @@ version: "3.4" services: broker: image: redis:6.0 - restart: always + restart: unless-stopped db: image: postgres:13 - restart: always + restart: unless-stopped volumes: - pgdata:/var/lib/postgresql/data environment: @@ -16,7 +16,7 @@ services: webserver: build: . - restart: always + restart: unless-stopped depends_on: - db - broker diff --git a/docker-compose.sqlite.yml b/docker-compose.sqlite.yml index 2d21fa3f1..87aa100a6 100644 --- a/docker-compose.sqlite.yml +++ b/docker-compose.sqlite.yml @@ -2,11 +2,11 @@ version: "3.4" services: broker: image: redis:6.0 - restart: always + restart: unless-stopped webserver: build: . - restart: always + restart: unless-stopped depends_on: - broker ports: diff --git a/docker-compose.tika.yml b/docker-compose.tika.yml index 889713908..d7b7e0da9 100644 --- a/docker-compose.tika.yml +++ b/docker-compose.tika.yml @@ -2,11 +2,11 @@ version: "3.4" services: broker: image: redis:6.0 - restart: always + restart: unless-stopped webserver: build: . - restart: always + restart: unless-stopped depends_on: - broker ports: