Skip to content

Feature Request: @filename support for PGWS_DB_URI environment variable #63

@W1M0R

Description

@W1M0R

The PGWS_JWT_SECRET environment variable already supports values using the @filename format, which is very useful for passing in Docker secrets, e.g. PGWS_JWT_SECRET="@/run/secrets/my_jwt_secret_key".

Since the postgres connection URI often includes a password in plain text, it would be great if the connection URI could be specified in a secret managed by Docker, that could then be provided to postgres-websockets in a similar way, e.g. PGWS_DB_URI: "@/run/secrets/my_db_uri".

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions