mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): fix compose race conditions on mariadb_init
We want the dependent services to wait until the initialization service of mariadb finishes, but also properly accept if it already exited before a leaf service gets picked up and put into created state. By using the service_completed_successfully signal, we can ensure precisely this, without being racy and leading to none booted services. While at it, remove the compose version identifiers as docker-compose deprecated them and always warned about when running docker-compose.
This commit is contained in:
parent
88e8db4404
commit
8dcf0b2d97
3 changed files with 18 additions and 16 deletions
|
@ -1,5 +1,4 @@
|
|||
version: "3.8"
|
||||
|
||||
---
|
||||
services:
|
||||
ca:
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue