brunostjohn / perplexideez

Search the web and your self-hosted apps using local AI agents.
GNU Affero General Public License v3.0
113 stars 1 forks source link

Environmental Variables for Postgres User\Pass\DB #3

Closed j0nathanr closed 2 hours ago

j0nathanr commented 2 hours ago

As of now the docker image uses "postgres" for the username, password and database for the postgres DB without any way of changing it with environmental variables

Ideally, we should have a way of setting these credentials with environmental variables in order to further secure the instance

brunostjohn commented 2 hours ago

You can change the Docker environment variables for the database itself (to make it initialise with different credentials) and for the app (to correctly use these credentials). Support with database sysadmin is out of scope for this project, the app itself supports any user/password/database name combo out there.