docs: update README files to include Docker Secrets configuration instructions

This commit is contained in:
troyeguo
2025-06-15 16:32:53 +08:00
parent ed6a6bb6c5
commit bc16b9b663
5 changed files with 6 additions and 3 deletions

View File

@@ -108,6 +108,8 @@ Then, select **Docker** as the data source in Koodo Reader.
Data source functionality use port 8080, and web version use port 80 by default. If you want to switch to port 8090, just change **`-p 8080:8080`** to **`-p 8090:8080`**.
If you want to use Docker Secrets to set **`SERVER_PASSWORD`**, please refer to [docker-compose-secret.yml](https://github.com/koodo-reader/koodo-reader/blob/master/docker-compose-secret.yml)
## Screenshot
<div align="center">

View File

@@ -107,6 +107,8 @@ docker run -d \
数据源功能默认使用 8080 端口,网页版默认使用 80 端口,您也可以使用其他端口。如果您需要使用 8090 端口,则将 **`-p 8080:8080`** 改为 **`-p 8090:8080`**
如果您希望使用 Docker Secrets 来配置服务器密码,请参考[docker-compose-secret.yml](https://github.com/koodo-reader/koodo-reader/blob/master/docker-compose-secret.yml)
## 截图
<div align="center">

View File

@@ -10,7 +10,6 @@ services:
- "8080:8080"
environment:
- SERVER_USERNAME=${SERVER_USERNAME:-admin}
- SERVER_PASSWORD=${SERVER_PASSWORD:-securePass123}
- SERVER_PASSWORD_FILE=${SERVER_PASSWORD_FILE:-my_secret}
- ENABLE_HTTP_SERVER=false
volumes:

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long