[PR #26] Docker secrets compatible (blatantly stolen from mysql5.7 entrypoint.sh) #29

Open
opened 2026-02-27 07:15:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jc21/docker-registry-ui/pull/26
Author: @moracabanas
Created: 1/7/2021
Status: 🔄 Open

Base: masterHead: master


📝 Commits (5)

  • fc943fc Create load_secrets.sh
  • 63136e7 Add load_secrets.sh
  • 4bc8507 maintainer is deprecated
  • bfce6ae Missing bracket and encapsulate variables setup
  • ce90547 It updated itself

📊 Changes

3 files changed (+51 additions, -4 deletions)

View changed files

📝 Dockerfile (+3 -2)
load_secrets.sh (+46 -0)
📝 package.json (+2 -2)

📄 Description

Tested successfully on my local testing swarm.

you can now use secrets and avoid leaking passwords by reading ENV variables.

environment:
    - REGISTRY_PASS_FILE=/run/secrets/MYSECRET

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jc21/docker-registry-ui/pull/26 **Author:** [@moracabanas](https://github.com/moracabanas) **Created:** 1/7/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`fc943fc`](https://github.com/jc21/docker-registry-ui/commit/fc943fca4212300171bc8b695c3374f2b5013112) Create load_secrets.sh - [`63136e7`](https://github.com/jc21/docker-registry-ui/commit/63136e7d358200bed79faebf14ac66f7590ffe0f) Add load_secrets.sh - [`4bc8507`](https://github.com/jc21/docker-registry-ui/commit/4bc85079900d940e7ad24defd6bd11d599874d43) maintainer is deprecated - [`bfce6ae`](https://github.com/jc21/docker-registry-ui/commit/bfce6aeec22c0e06aef0c06a28f311ab77863aed) Missing bracket and encapsulate variables setup - [`ce90547`](https://github.com/jc21/docker-registry-ui/commit/ce90547166398d36bc28ddd5acc4ae5115268279) It updated itself ### 📊 Changes **3 files changed** (+51 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+3 -2) ➕ `load_secrets.sh` (+46 -0) 📝 `package.json` (+2 -2) </details> ### 📄 Description Tested successfully on my local testing swarm. you can now use secrets and avoid leaking passwords by reading ENV variables. ```yaml environment: - REGISTRY_PASS_FILE=/run/secrets/MYSECRET ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-registry-ui-jc21#29
No description provided.