Can docker secrets be passed in a environment variables? #636

Closed
opened 2026-02-04 20:38:41 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @the-bort-the on GitHub (Jan 21, 2025).

I am curious if environment variables can be passed in as Docker secrets. It seems to not be the case, but I see when using the linuxio image I can by supplying FILE__OIDC_CLIENT_ID=/run/secrets/CLIENT_ID. I'd rather not use linuxio's image, even though both are on 1.24.3. Is there another prefix available for variables I'm not seeing?

works using image: lscr.io/linuxserver/planka:latest

Originally created by @the-bort-the on GitHub (Jan 21, 2025). I am curious if environment variables can be passed in as Docker secrets. It seems to not be the case, but I see when using the linuxio image I can by supplying `FILE__OIDC_CLIENT_ID=/run/secrets/CLIENT_ID`. I'd rather not use linuxio's image, even though both are on `1.24.3`. Is there another prefix available for variables I'm not seeing? works using `image: lscr.io/linuxserver/planka:latest`
Author
Owner

@ArcherCentauri commented on GitHub (Feb 23, 2025):

This would be amazing to have

@ArcherCentauri commented on GitHub (Feb 23, 2025): This would be amazing to have
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#636