Seed the dev PocketBase with example content on a fresh volume
This commit is contained in:
1 parent
47d9841532
commit
d5372963bb
3 files changed
+65
-1
No files matched your search
@@ -24,6 +24,12 @@ services:
|
||||
# tag clears the inherited bind mount so only this volume applies.
|
||||
- !reset null
|
||||
- pb_data_dev:/pb_data
|
||||
# Dev-only seed: PocketBase runs the JS migrations in this folder on start.
|
||||
# On a fresh pb_data_dev volume it creates the content collections and fills
|
||||
# them with example records (see pb/pb_migrations). Guarded to be a no-op on
|
||||
# a populated volume. Deliberately NOT in the base file -- production is
|
||||
# seeded by hand, never from this repo.
|
||||
- ./pb/pb_migrations:/pb_migrations
|
||||
|
||||
eb-web:
|
||||
# Build from local source instead of pulling the registry image, so local code
|
||||
|
||||
Reference in new issue
Block a user