Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Add a stop timeout to gitea docker-compose up
Browse files Browse the repository at this point in the history
It's possible that we're not allowing long enough time for mariadb
to stop cleanly. MariaDB/mariadb-docker#201
indicates that adding a stop time might be useful. The default is 10,
bump it to 60.

Change-Id: Id7a815d1508fe6d8f79818c9109cbf89533bb2a6
  • Loading branch information
emonty committed Mar 5, 2019
1 parent 655ae66 commit 930b64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/roles/gitea/tasks/main.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit 930b64c

Please sign in to comment.