adding volumes

This commit is contained in:
lila 2026-04-15 05:07:52 +02:00
parent 2cb16ed5f0
commit fef7c82a3e

View file

@ -47,7 +47,7 @@ services:
restart: unless-stopped
healthcheck:
test:
["CMD-SHELL", "wget -qO- http://localhost:3000/api/health || exit 1"]
["CMD-SHELL", "wget -qO- http://localhost:3000/api/v1/health || exit 1"]
interval: 5s
timeout: 3s
retries: 5
@ -67,6 +67,7 @@ services:
- "5173:5173"
volumes:
- ./apps/web:/app/apps/web # Hot reload: local edits reflect immediately
- ./packages/shared:/app/packages/shared
- /app/node_modules # Protect container's node_modules from being overwritten
environment:
- VITE_API_URL=http://localhost:3000