diff --git a/docker-compose.yml b/docker-compose.yml index 9a59d75..144531d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/static/index.html b/static/index.html index 88b04b1..8889226 100644 --- a/static/index.html +++ b/static/index.html @@ -3,7 +3,7 @@
-