mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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.
31 lines
589 B
YAML
31 lines
589 B
YAML
---
|
|
services:
|
|
ca:
|
|
volumes:
|
|
- ./data:/data
|
|
- step:/root/.step
|
|
|
|
git:
|
|
volumes:
|
|
- git_data:/aurweb/aur.git
|
|
- ./data:/aurweb/data
|
|
|
|
smartgit:
|
|
volumes:
|
|
- git_data:/aurweb/aur.git
|
|
- ./data:/data
|
|
- smartgit_run:/var/run/smartgit
|
|
|
|
fastapi:
|
|
volumes:
|
|
- ./data:/data
|
|
- ./aurweb:/aurweb/aurweb
|
|
- ./migrations:/aurweb/migrations
|
|
- ./test:/aurweb/test
|
|
- ./templates:/aurweb/templates
|
|
|
|
nginx:
|
|
volumes:
|
|
- ./data:/data
|
|
- archives:/var/lib/aurweb/archives
|
|
- smartgit_run:/var/run/smartgit
|