Skip to content

REQ: allow specifying db info via env variables in docker-compose #3105

@Germs2004

Description

@Germs2004

It would be convenient if the docker-compose.yml file would automatically configure the freshrss docker image to connect to the postgres database so that the user would not have to enter any database connection info into the FreshRSS installation wizard. The docker-compose file already lets us specify the database name, username, and password for the "freshrss_postgresql" container, so all the necessary information could be similarly injected into the "freshrss" container, letting docker users skip the database setup page of the wizard.

Example of another project that uses the docker-compose to configure the database settings in the app:
https://git.tt-rss.org/fox/ttrss-docker-compose/src/master/docker-compose.yml. Notice how each container that requires database access has environment variables for the db username and password. It should also have a variable for the database hostname in case the user wants to use a different database hostname.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions