FeatureFuel
1

Support docker secrets

Source: outline/outline#10829 · opened by @danez
It would be nice if outline could support getting secrets from files, as with [docker secrets]( In a nutshell what happens with docker secrets is that the actual secret value is mounted as a file into the container under /run/secrets/<name> and the application can read the secret from there. Most applications use Environment variables to point the application the the correct file (e.g. DB_PASWORD_FILE=/run/secrets/db_password). I looked thorough the outline code an i think the easist would be to somewhere have a logic that checks if e.g. DB_URL_FILE exists, and reads it into DB_URL. Immich for example [has a shell script]( that does this, before the actual application is started. A possible solution here would also be • to to this in a shell script (yarn start -> start.sh -> node server/index.js) • or integrate this logic into server/utils/environment.ts What do you think fits better? I would love to work on this, but want to know first wh…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests