-
-
Notifications
You must be signed in to change notification settings - Fork 276
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 Secret Support #411
Comments
Added support for this in #412 |
Thanks, I'll check it out tomorrow. |
The |
Would be great to have this feature added to the docs, as well as inform on how to use it without docker-secrets. I tried multiple variations (via portainer) of the following, before realizing the PR was merged after the latest release of jan 6. Then I tried using a beta container-image volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /host-path/beszel/beszel-key-file.txt:/beszel/beszel-key-file.txt
environment:
# KEY: "ssh-ed123456 random"
# KEY_FILE: /host-path/beszel/beszel-key-file.txt
KEY_FILE: /beszel/beszel-key-file.txt EDIT: entrypoint: export KEY="ssh-ed12345 random" && /agent
post_start:
- command: echo "test" && KEY=$(cat /beszel/beszel-key-file.txt) && echo "$KEY" && echo "end" Portainer does not accept within stack an |
Sorry about that. The next release has been a bit delayed but I hope to have it wrapped up in the next few days. |
No worries and no need to rush, it's open-source! |
Hi, love the project. It's the most straightforward approach to monitoring I've come across. I was wondering if there is (or will be) Docker secret support for environment variables. I'd like to be able to specify the agent key in a Docker secret and pass the file path as the environment variable, as is common with other services.
For example, being able to do something like this would be great
Thanks
The text was updated successfully, but these errors were encountered: