Skip to content

The link command should support an additional parameter to specify the database name. #354

@shuiRong

Description

@shuiRong

My scenario:
There are multiple applications running on the same server, but I only want them to connect to the same PostgreSQL service. However, these different applications will use different databases within that service (they won’t share the same database).

Currently, I can achieve this by manually setting the DATABASE_URL environment variable.
However, since there is already a convenient link command, I wonder if it’s possible to consider adding an extra parameter to handle this case.

For example:
dokku postgres:link my-app my-db -d database_name1

Metadata

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