fix pb migration
This commit is contained in:
@@ -12,7 +12,9 @@ if [ -n "$PB_EMAIL" ] && [ -n "$PB_PASSWORD" ]; then
|
||||
fi
|
||||
|
||||
# Start PocketBase (internal only; published via loopback for admin UI).
|
||||
pocketbase serve --http=0.0.0.0:8090 --dir="$PB_DATA" &
|
||||
# --automigrate=false: we own schema via proxy migrate.ts; PB's built-in
|
||||
# automigrate generates conflicting snapshots on upgraded stores.
|
||||
pocketbase serve --http=0.0.0.0:8090 --dir="$PB_DATA" --automigrate=false &
|
||||
|
||||
# Wait for PB to be healthy before starting the proxy (which runs migrate).
|
||||
echo "[entrypoint] Waiting for PocketBase..."
|
||||
|
||||
Reference in New Issue
Block a user