From 16c9c7ee80c9f9ef9b03c32536101a5037e46044 Mon Sep 17 00:00:00 2001 From: ahmido Date: Thu, 8 Jan 2026 01:19:54 +0000 Subject: [PATCH] fix/sail-node-modules-volume (#46) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary ## Spec-Driven Development (SDD) - [ ] Es gibt eine Spec unter `specs/-/` - [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md` - [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation) - [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert ## Implementation - [ ] Implementierung entspricht der Spec - [ ] Edge cases / Fehlerfälle berücksichtigt - [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes ## Tests - [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit) - [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`) ## Migration / Config / Ops (falls relevant) - [ ] Migration(en) enthalten und getestet - [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration) - [ ] Neue Env Vars dokumentiert (`.env.example` / Doku) - [ ] Queue/cron/storage Auswirkungen geprüft ## UI (Filament/Livewire) (falls relevant) - [ ] UI-Flows geprüft - [ ] Screenshots/Notizen hinzugefügt ## Notes Co-authored-by: Ahmed Darrazi Reviewed-on: https://git.cloudarix.de/ahmido/TenantAtlas/pulls/46 --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1f9565b..18e7141 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,10 +14,13 @@ services: - '${VITE_PORT:-5173}:${VITE_PORT:-5173}' environment: WWWUSER: '${WWWUSER:-1000}' + WWWGROUP: '${WWWGROUP:-1000}' LARAVEL_SAIL: 1 APP_SERVICE: laravel.test + entrypoint: ["/bin/sh", "-c", "mkdir -p /var/www/html/node_modules && chown ${WWWUSER:-1000}:${WWWGROUP:-1000} /var/www/html/node_modules || true; exec start-container"] volumes: - '.:/var/www/html' + - '/var/www/html/node_modules' networks: - sail depends_on: @@ -36,10 +39,13 @@ services: - 'host.docker.internal:host-gateway' environment: WWWUSER: '${WWWUSER:-1000}' + WWWGROUP: '${WWWGROUP:-1000}' LARAVEL_SAIL: 1 APP_SERVICE: queue + entrypoint: ["/bin/sh", "-c", "mkdir -p /var/www/html/node_modules && chown ${WWWUSER:-1000}:${WWWGROUP:-1000} /var/www/html/node_modules || true; exec start-container"] volumes: - '.:/var/www/html' + - '/var/www/html/node_modules' networks: - sail depends_on: