Bind-mount PocketBase data dir in local dev instead of a named volume
Makes local test data (e.g. content pulled from production for testing) directly inspectable and swappable on the host filesystem, without affecting the production volume-based setup.
This commit is contained in:
@@ -36,6 +36,9 @@ frontend/.nuxtrc
|
||||
caddy/data/
|
||||
caddy/config/
|
||||
|
||||
# pocketbase local dev data (bind-mounted, docker-compose.dev.yml)
|
||||
pocketbase/pb_data/
|
||||
|
||||
# logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -5,6 +5,8 @@ services:
|
||||
pocketbase:
|
||||
ports:
|
||||
- "127.0.0.1:8090:8090"
|
||||
volumes:
|
||||
- ./pocketbase/pb_data:/pb/pb_data
|
||||
|
||||
frontend:
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user