Last active
February 22, 2025 21:15
-
-
Save xZero707/bd8dd4795b8266d9639ed0cdd9d81f82 to your computer and use it in GitHub Desktop.
Normalize and load docker secrets within S6 supervised container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Moved. See: https://github.com/N0rthernL1ghts/docker-env-secrets/blob/master/src/init-docker-secrets-run.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The script will copy secrets in
/run/secrets
to/run/secrets_normalized
with normalized (uppercase) names.You can then start your services using this to load secrets into your app's environment: