mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 06:46:24 +00:00
fix(docker): update PB_HOST to use 0.0.0.0 for better accessibility
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ==="
|
||||
|
||||
Reference in New Issue
Block a user