Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Support the use of docker secrets for the database password #149

Closed
@pmarzouk

Description

Hi,

Docker secrets allows to make secrets available in the container as files.
Environment variables are not supported.

Would it be possible to support setting the environment variable for the database password from a file like this is done in the postgres official container in docker-entrypoint.sh

In the postgres container, the POSTGRES_PASSWORD environment variable in the compose file can contain either the password itself or the path to the secrets file (eg: /run/secrets/postgres_password)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions