From 4aca54860d14b27cc3a459d5350290ccca3ea194 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sun, 13 Feb 2022 19:39:12 +0100 Subject: [PATCH] [nextcloud] Add restart --- nextcloud/docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index 54c129f..69c7173 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -3,6 +3,7 @@ version: '3.2' services: db: image: postgres:${postgres_version:-14} + restart: unless-stopped environment: - POSTGRES_DB=nextcloud - POSTGRES_USER=postgres @@ -14,6 +15,7 @@ services: app: image: nextcloud:${nextcloud_version:-latest} + restart: unless-stopped volumes: - /media/nextcloud/nextcloud_data:/var/www/html/data - /media/nextcloud/nextcloud_config:/var/www/html/config