From 930b64c96b3d8c91aa611eb2d125495faae702ef Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 5 Mar 2019 08:18:51 +0000 Subject: [PATCH] Add a stop timeout to gitea docker-compose up It's possible that we're not allowing long enough time for mariadb to stop cleanly. https://github.com/docker-library/mariadb/issues/201 indicates that adding a stop time might be useful. The default is 10, bump it to 60. Change-Id: Id7a815d1508fe6d8f79818c9109cbf89533bb2a6 --- playbooks/roles/gitea/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/gitea/tasks/main.yaml b/playbooks/roles/gitea/tasks/main.yaml index 95dffa875d..077f05df06 100644 --- a/playbooks/roles/gitea/tasks/main.yaml +++ b/playbooks/roles/gitea/tasks/main.yaml @@ -43,7 +43,7 @@ chdir: /etc/gitea-docker/ - name: Run docker-compose up shell: - cmd: docker-compose up -d + cmd: docker-compose up -d --timeout 60 chdir: /etc/gitea-docker/ - name: Check if root user exists uri: