adding volumes
This commit is contained in:
parent
2cb16ed5f0
commit
fef7c82a3e
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
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
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
@ -67,6 +67,7 @@ services:
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
volumes:
|
volumes:
|
||||||
- ./apps/web:/app/apps/web # Hot reload: local edits reflect immediately
|
- ./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
|
- /app/node_modules # Protect container's node_modules from being overwritten
|
||||||
environment:
|
environment:
|
||||||
- VITE_API_URL=http://localhost:3000
|
- VITE_API_URL=http://localhost:3000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue