fix(docker): update PB_HOST to use 0.0.0.0 for better accessibility

This commit is contained in:
lukashow
2026-02-07 16:23:32 +08:00
committed by melvinchia3636
parent 098f262b5e
commit 7fe85931e3
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ services:
environment:
- DOCKER_MODE=true
- PB_DIR=/pb_data
- PB_HOST=http://db:8090
- PB_HOST=http://0.0.0.0:8090
volumes:
- ./database/pb_data:/pb_data
- ./apps:/app/apps

View File

@@ -8,7 +8,7 @@ echo "Generating database migrations..."
mkdir -p /pb_data/pb_migrations
# Generate and apply migrations using bundled forge CLI
cd /app && bun forge.js --log-level debug db push
cd /app && bun forge --log-level debug db push
echo "Migrations applied successfully!"
echo "=== DB Init Complete ==="