Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to an existing Postgres database #24

Closed
Trollwut opened this issue Aug 17, 2020 · 2 comments
Closed

Connecting to an existing Postgres database #24

Trollwut opened this issue Aug 17, 2020 · 2 comments

Comments

@Trollwut
Copy link

Hey folks!

Currently trying to set it up on my server.

I already have an existing databse set up, so I don't want to run a second one for Planka.

Now Planka's docker-compose says it connects with "trust" to a Postgres DB.

What would I need to change to let it connect to an already existing Postgres DB, but authentificated via a user in the DB?

@Trollwut
Copy link
Author

whoopsie, a quarter of an hour later, I answer it myself:

- DATABASE_URL=postgresql://user:pass@databaseurl/databasename

@nickbe
Copy link

nickbe commented Aug 18, 2020

Great.

@nickbe nickbe closed this as completed Aug 18, 2020
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

No branches or pull requests

2 participants