guid3d / splt

💸🤑 self-hosted bill splitting web app
https://splt.cash
14 stars 1 forks source link

Bind pocketbase to 0.0.0.0:8090 #1

Open escuco opened 3 months ago

escuco commented 3 months ago

Hello!

We were playing around with splt.cash with some people on a festival and it worked very nice. It would be nice to run it selfhosted.

I'm currently trying to install splt on a Uberspace. Is there any way to bind Pocketbase to 0.0.0.0:8090 instead of default 127.0.0.1:8090?

Background: For the web backend at Uberspace the application needs to listen on interface :: or 0.0.0.0 (using 127.0.0.1, localhost or ::1 does not work!) at any port between 1024 and 65535. https://manual.uberspace.de/web-backends/

Thank you! Jan

escuco commented 2 months ago

Doesn't anyone have an idea how to bind pocketbase to 0.0.0.0?

avanc commented 1 month ago

Command line parameter --http=0.0.0.0:8090 is not working? The comment in https://github.com/pocketbase/pocketbase/discussions/3190#discussion-5556881 reads that it should work.

escuco commented 1 month ago

Thanks @avanc , that did the trick and the web backend works fine now.

I'm now running into an error message while importing the pb_schema.json file as described here: https://github.com/guid3d/splt?tab=readme-ov-file#development-setup

...but I'm still tinkering around with that.

Thanks again!