From dbf56d093091aba32d0fa1d5cd8ebc27d16a01ca Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Tue, 23 Jun 2020 17:02:43 +0700 Subject: [PATCH] Auto restart Gitea In case it cannot connect to MariaDB --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index c17cc539..b4d66491 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,7 @@ services: DOMAIN: "git.khuedoan.com" ROOT_URL: "http://git.khuedoan.com/" INSTALL_LOCK: "true" + restart: always mariadb: container_name: "khuedoan_mariadb" build: ./mariadb/