Skip to content

Update installation script to use docker secrets for DATABASE_URL #2611

@gururafiki

Description

@gururafiki

What problem will this feature address?

Currently DB connection string is not secured.

Describe the solution you'd like

Since Dokploy is deployed to swarm to improve it's security and allow users to customize their db passoword - I suggest to create docker secret during installation and set DATABASE_URL_FILE pointing to this secret and then resolve it in runtime if provided.

Describe alternatives you've considered

Passing DATABASE_URL as environment variable, using default DATABASE_URL, mounting .env file from docker secret. All options are not secure because env variable is easy to access using shell.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions