This adds a watch rebuild rule to the default api service and updates README commands to use the current up+watch workflow. Made-with: Cursor
This commit is contained in:
@@ -63,10 +63,11 @@ Stop the service:
|
||||
docker compose down
|
||||
```
|
||||
|
||||
For local development with auto-rebuild on file changes:
|
||||
For local development with file watching/rebuild:
|
||||
|
||||
```bash
|
||||
COMPOSE_BAKE=true docker compose --profile dev up --watch
|
||||
COMPOSE_BAKE=true docker compose up -d
|
||||
COMPOSE_BAKE=true docker compose watch
|
||||
```
|
||||
|
||||
Notes:
|
||||
|
||||
@@ -88,6 +88,10 @@ services:
|
||||
ports:
|
||||
- "8122:8122"
|
||||
restart: unless-stopped
|
||||
develop:
|
||||
watch:
|
||||
- action: rebuild
|
||||
path: .
|
||||
|
||||
api-dev:
|
||||
profiles: ["dev"]
|
||||
|
||||
Reference in New Issue
Block a user