fix/sail-node-modules-volume (#46)
## Summary <!-- Kurz: Was ändert sich und warum? --> ## Spec-Driven Development (SDD) - [ ] Es gibt eine Spec unter `specs/<NNN>-<feature>/` - [ ] 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 <!-- Links, Screenshots, Follow-ups, offene Punkte --> Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local> Reviewed-on: #46
This commit is contained in:
parent
93dbd3b13d
commit
16c9c7ee80
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user