From c0f5947bbfb3cc067266150204c60c308f326bf6 Mon Sep 17 00:00:00 2001 From: relikd Date: Tue, 30 May 2023 19:04:03 +0200 Subject: [PATCH] fix: restart container --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 51a50c9..4d5d36f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: - django-static:/var/www/html/static links: - app - restart: "on-failure" + restart: unless-stopped app: container_name: app @@ -25,7 +25,7 @@ services: volumes: - django-static:/var/www/html/static - ./data:/django_project/data:rw - restart: "on-failure" + restart: unless-stopped volumes: django-static: