Connecting to an existing Postgres database #16

Closed
opened 2026-02-04 16:32:51 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Trollwut on GitHub (Aug 17, 2020).

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?

Originally created by @Trollwut on GitHub (Aug 17, 2020). 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?
Author
Owner

@Trollwut commented on GitHub (Aug 17, 2020):

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

- DATABASE_URL=postgresql://user:pass@databaseurl/databasename
@Trollwut commented on GitHub (Aug 17, 2020): whoopsie, a quarter of an hour later, I answer it myself: - DATABASE_URL=postgresql://user:pass@databaseurl/databasename
Author
Owner

@nickbe commented on GitHub (Aug 18, 2020):

Great.

@nickbe commented on GitHub (Aug 18, 2020): Great.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#16