[PR #519] entrypoint: add docker secret friendly _FILE options #644

Open
opened 2026-02-26 10:33:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/519
Author: @andwei
Created: 10/21/2022
Status: 🔄 Open

Base: masterHead: docker_secrets


📝 Commits (1)

  • 5e8c212 entrypoint: add docker secret friendly _FILE options

📊 Changes

2 files changed (+27 additions, -6 deletions)

View changed files

📝 README.md (+5 -3)
📝 run-document-server.sh (+22 -3)

📄 Description

Hi,
I was deploying the onlyoffice documentserver community edition using docker swarm and thought it would be nice to be able to use docker secrets to avoid putting JWT_SECRET or DB_PWD as environment variables into the compose file. This adds the ability to specify a file, e.g. created from a docker secret, to use as a secret (similar to what mariadb and many other containers do).

Kind regards,
Andreas


🔄 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/ONLYOFFICE/Docker-DocumentServer/pull/519 **Author:** [@andwei](https://github.com/andwei) **Created:** 10/21/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `docker_secrets` --- ### 📝 Commits (1) - [`5e8c212`](https://github.com/ONLYOFFICE/Docker-DocumentServer/commit/5e8c2122ad69911962d9a7d3fcce0d1ad9a5a608) entrypoint: add docker secret friendly _FILE options ### 📊 Changes **2 files changed** (+27 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -3) 📝 `run-document-server.sh` (+22 -3) </details> ### 📄 Description Hi, I was deploying the onlyoffice documentserver community edition using docker swarm and thought it would be nice to be able to use docker secrets to avoid putting JWT_SECRET or DB_PWD as environment variables into the compose file. This adds the ability to specify a file, e.g. created from a docker secret, to use as a secret (similar to what mariadb and many other containers do). Kind regards, Andreas --- <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 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-DocumentServer-ONLYOFFICE#644
No description provided.