Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker improvement: ATUIN_DB_PASSWORD_FILE #2452

Open
mortee opened this issue Nov 19, 2024 · 0 comments
Open

docker improvement: ATUIN_DB_PASSWORD_FILE #2452

mortee opened this issue Nov 19, 2024 · 0 comments

Comments

@mortee
Copy link

mortee commented Nov 19, 2024

It would be nice if somehow the containerized sync server could read the DB password from a file, thus enabling e.g. docker swarm's secret facility, which presents secrets to containers as files. Now I'm forced to override the entrypoint, and insert a shell command to read the pwd file and construct the DB URI, and then execute the atuin server.

I realize that this is tricky exactly because a URI needs to be constructed, but there might be some solution. Maybe ATUIN_DB_URI_FILE, and store the whole thing in the secret?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant