Comments (4)
I don't want to introduce concepts like "databases" because this project is relatively small, and I don't want it to become bloated.
I personally feel that normal people don't really have a frequent need to change Auth Keys. If you have multiple Auth Keys, it's supported currently. Also, the current code will automatically select the valid Auth Key. You can choose to pass it through the command line or use Docker environment variables, separated only by commas in English mode.
from deeplx.
@missuo Similar to MYSQL_ROOT_PASSWORD
, provide keys/tokens directly will never be a good choose.
https://dev.mysql.com/blog-archive/docker-secrets-and-mysql-password-management/
Specifying the password directly using MYSQL_ROOT_PASSWORD is the least secure option. When running a Docker container, its environment variables are exposed to both the host system and to the container itself, leaving the password at very high risk of exposure. We’ll leave it as an exercise for the reader to find out how and why; suffice it to say that we strongly discourage this way of doing it in any kind of setting where security is of any concern whatsoever.
from deeplx.
https://dev.mysql.com/blog-archive/docker-secrets-and-mysql-password-management/
I think you need to read this article carefully. The reason for doing so is that it is written in the environmental variables only because any value in the environmental variables is visible to both the host machine and the container.
However, this is not for your convenience to change the password. I think no one will change the ROOT password of MYSQL frequently.
BTW, if someone can connect to your server, I think it will be easy for them to see what you have written in the environmental variables or specified in a file, which is essentially no different.
Moreover, this is an open-source project, and as the maintainer of this project, I have the right and obligation to evaluate whether to support or not support a new feature.
In my opinion, the requirements you submitted above are completely unnecessary. If this is your habit of use, you can modify the code and compile it yourself. This project follows the MIT License, and you can do anything you want.
from deeplx.
However, this is not for your convenience to change the password. I think no one will change the ROOT password of MYSQL frequently.
I think only it will be enough if this project can support load once from file feature, to change, we can just rebuild/reboot the container.
BTW, if someone can connect to your server, I think it will be easy for them to see what you have written in the environmental variables or specified in a file, which is essentially no different.
Not just for this scenario, for example, many people are using NAS system (e.g., Synology DSM) to run docker containers, and when they want to have technical support, the generated log zip file as they need to upload will commonly include all docker config files - which contains all tokens/keys, which may cause problems.
In my opinion, the requirements you submitted above are completely unnecessary. If this is your habit of use, you can modify the code and compile it yourself. This project follows the MIT License, and you can do anything you want.
I may, this feature shouldn't be very hard to add.
from deeplx.
Related Issues (20)
- Win10一打开就闪退, 把能关的都关了也无法解决问题, 用ProcessMonitor记录了下崩溃过程 HOT 22
- 沉浸翻译偶尔报错:Unexpected end of JSON input HOT 1
- the response data is blank HOT 1
- v2/translate 接口似乎没有校验 token HOT 1
- v2/translate 接口的 Authorization 头和官方不一致 HOT 7
- Multiple line translation HOT 14
- 临时解决时区问题
- 请求添加对树莓派ARM的二进制程序 HOT 5
- can i use my premium session? HOT 3
- 功能建议:术语表
- 批量翻译返回格式和官方不一致 HOT 2
- 是否可用添加ipv6的代理池
- DeeplX doest work? HOT 3
- How to pass below parameters to avoid block? identifier, timestamp HOT 1
- DeepL with immersive-translate Token HOT 2
- [报错] HOT 3
- [error]: 5次重试后依然出错:response.text='',Expecting value: line 1 column 1 (char 0) HOT 1
- 更改端口后原端口并未关闭,而是开启了两个端口,如何将default端口关闭 HOT 3
- 支持 DeepL 官方 API 接口响应格式 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deeplx.