update docker config file (#159)

* update dockerfile, use cn mirrors

* deploy: update docker deploy config

更新 docker 配置文件。
1. 切换到 ubuntu,能测试成功;debian 测试有问题,先用 ubuntu 吧。
2. 增加国内源,优化编译+系统安装的速度。
3. 切换成 chrome 浏览器。

* mv docker compose config file

* update docker compose
This commit is contained in:
zy
2025-09-25 23:41:52 +08:00
committed by GitHub
parent f37b4d8591
commit 9fcc7402b6
3 changed files with 69 additions and 29 deletions

View File

@@ -6,8 +6,9 @@ services:
tty: true
volumes:
- ./data:/app/data
- ./images:/app/images
environment:
- ROD_BROWSER_BIN=/usr/bin/chromium # ← 无头浏览器
- COOKIES_PATH=/app/data/cookies.json # ← 程序读取/写入这个路径
- ROD_BROWSER_BIN=/usr/bin/google-chrome
- COOKIES_PATH=/app/data/cookies.json
ports:
- "18060:18060"