fix: 页面标题改为莞易学,容器内固定国内 DNS
- static/index.html:标题与页头 h1 由「多账号学习控制台」改为「莞易学」 - docker-compose.yml:容器固定 223.5.5.5 / 119.29.29.29,绕过宿主机不可用的 1.1.1.1 上游
This commit is contained in:
@@ -27,6 +27,10 @@ services:
|
||||
RUN_LOG_KEEP: ${RUN_LOG_KEEP:-2000}
|
||||
SNAPSHOT_KEEP: ${SNAPSHOT_KEEP:-200}
|
||||
TZ: ${TZ:-Asia/Shanghai}
|
||||
# 固定容器内 DNS 为国内公共解析,绕过宿主机 1.1.1.1/8.8.8.8 上游(国内常不可用)
|
||||
dns:
|
||||
- 223.5.5.5
|
||||
- 119.29.29.29
|
||||
volumes:
|
||||
# 唯一的持久化目录:SQLite 库(study.db + -wal/-shm)都在这里
|
||||
- ./data:/app/data
|
||||
|
||||
Reference in New Issue
Block a user