SenexCrenshaw / StreamMaster

MIT License
159 stars 20 forks source link

Feature Request: external PostgreSQL #217

Open korncola opened 3 months ago

korncola commented 3 months ago

Happy to see you diteched SQLite for PostgreSQL, I proposed this some month ago :) Would be happy if we could pass an external PostgreSQL host via the compose.

Thank you, and big Kudos to the dev pace you have recently, just wow! Kind regards

w-marco commented 2 months ago

With 0.14.5 this basically already works (at least from what I can tell).

Create a User in your external postgres with the rights to create new Databases. Then use these env-vars for streammaster:

POSTGRES_USER={USER_HERE}
POSTGRES_PASSWORD={PASSWORD_HERE}
POSTGRES_HOST={HOST_HERE}
POSTGRES_DB=iptvproxy

For me this just works with a Postgres 13 in a seperate docker container.