chore: host bind mounts for data and leaner deploy job
PR — Ouverture automatique / create-pr (push) Successful in 2s

Store MariaDB and media data on the host disk via CLOUD_DB_DIR and CLOUD_MEDIA_DIR (default ../db, ../media) instead of Docker named volumes, so they live on the big disk and survive 'down -v'. Drop the host 'make check' from the deploy job: the image builds already run tsc for every workspace, so no Node toolchain is needed on the runner.
This commit is contained in:
2026-10-16 10:53:44 +02:00
parent a22f18d860
commit 4c2b58df00
+3 -2
View File
@@ -30,8 +30,9 @@ jobs:
dir="${DEPLOY_DIR:-/srv/apps/cohaise-cloud/CoHaiSe-CLOUD}"
cd "$dir"
git pull --ff-only origin main
make check
make front
# Le build des images compile et typecheck chaque workspace (tsc) :
# aucune toolchain Node n'est requise sur l'hote.
docker compose build api nginx
make front
docker compose up -d api nginx
docker image prune -f