Skip to content

Fix Pocketbase Connection Failure Issue#101

Merged
lukashow merged 2 commits intomainfrom
fix/docker-db-init
Feb 7, 2026
Merged

Fix Pocketbase Connection Failure Issue#101
lukashow merged 2 commits intomainfrom
fix/docker-db-init

Conversation

@lukashow
Copy link
Collaborator

@lukashow lukashow commented Feb 7, 2026

Fix for our #100 th issue 🎉🥳

this pull request solves the flags issue due to my overlook that places a space inside the flags. And also, now pocketbase uses 0.0.0.0 to listen to all internal interfaces.

Also small fixes for forge instead of forge.js (i mean why there we need one .js? found no differences after removing it tho)


This pull request makes several small but important fixes to improve configuration consistency and command usage for the database service. The main changes address environment variable values, command-line argument formatting, and the correct invocation of the migration tool.

Configuration and environment fixes:

  • Changed the PB_HOST environment variable in docker-compose.yaml to use http://0.0.0.0:8090 instead of http://db:8090, ensuring the service binds to all interfaces and is accessible as expected.

Command-line and script improvements:

  • Updated the migration command in docker/db-init/entrypoint.sh to use bun forge instead of bun forge.js, correcting the CLI invocation for generating and applying migrations.
  • Fixed the formatting of the --http argument in tools/src/constants/db.ts by adding an equals sign (--http=...), ensuring the database CLI receives the argument in the correct format.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🔨 Build Results

Backend Build: Failed (failure)
Frontend Build: Failed (failure)

⚠️ One or more builds failed. Please check the logs for details.

🔗 View full workflow run

@lukashow lukashow merged commit af494da into main Feb 7, 2026
4 of 6 checks passed
@lukashow lukashow deleted the fix/docker-db-init branch February 7, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant