From c9b7c531e425f06628bceea8ab8947cd36550d40 Mon Sep 17 00:00:00 2001 From: Pelayori <31128562+Pelayori@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:29:43 +0100 Subject: [PATCH] Add restart always to ensure container restarts if it can't start (mysql startup time is slower) --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 93ae7dff..4fe0b954 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,8 @@ services: - mynetwork depends_on: - db + restart: + always volumes: db_data: