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.
Comments
Similar requests
S3 uploads should support ECS Task Roles / IAM Instance Roles
1 vote · 0 comments
Support Secrets for Database connection
1 vote · 0 comments
Feature Request: Secure “Secret Reference” Block + `/password` Slash Command (External Password Manager Integration)
2 votes · 0 comments
Request for support of Docker Swarm secrets
1 vote · 0 comments
Docker image for ARM?
4 votes · 0 comments
No comments yet.