[GH-ISSUE #66] Fixed database configuration in docker containers #50

Closed
opened 2026-02-25 21:31:05 +03:00 by kerem · 1 comment
Owner

Originally created by @sbonfert on GitHub (Aug 13, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/66

Originally assigned to: @ciur on GitHub.

In the file docker/1.4/config/app.production.py the configuration variables for the database are set statically. That means, that credentials, port and the hostname cannot be chosen, but are predefined.
Can you change that to allow for custom configurations, most preferably set by environment variables?

Originally created by @sbonfert on GitHub (Aug 13, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/66 Originally assigned to: @ciur on GitHub. In the file docker/1.4/config/app.production.py the configuration variables for the database are set statically. That means, that credentials, port and the hostname cannot be chosen, but are predefined. Can you change that to allow for custom configurations, most preferably set by environment variables?
kerem 2026-02-25 21:31:05 +03:00
Author
Owner

@ciur commented on GitHub (Aug 13, 2020):

Hi @sbonfert,

sounds like a very good point! I will change compose.yml + docker/1.4/config/app.production.py to use/read DB credentials from environment variables.

Thank you for heads up!

<!-- gh-comment-id:673593970 --> @ciur commented on GitHub (Aug 13, 2020): Hi @sbonfert, sounds like a very good point! I will change compose.yml + docker/1.4/config/app.production.py to use/read DB credentials from environment variables. Thank you for heads up!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#50
No description provided.