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

Support for Compose secrets #13

Open
aksiksi opened this issue Mar 10, 2024 · 0 comments
Open

Support for Compose secrets #13

aksiksi opened this issue Mar 10, 2024 · 0 comments
Labels
compose Docker Compose feature New feature or request

Comments

@aksiksi
Copy link
Owner

aksiksi commented Mar 10, 2024

We would need to use docker cp to copy applicable secrets into the container.

The reason is that that this is a runtime feature and therefore requires running commands after the container service comes up. We could either inject a script as ExecStartPost via postStart in Nix in the existing service, or add a new service that handles this (former is preferred).

References

Compose implementation: https://github.com/docker/compose/blob/4efb89709ccb9f11ce0b6571a1c4674be37a42b7/pkg/compose/secrets.go

@aksiksi aksiksi changed the title Support for secrets Support for Compose secrets Mar 14, 2024
@aksiksi aksiksi added feature New feature or request and removed enhancement labels Mar 14, 2024
@aksiksi aksiksi added the compose Docker Compose label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compose Docker Compose feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant