Home Page | Novel Page | Article Page |
---|---|---|
Home Page Dark | Novel Page Dark | Article Page Dark |
使用docker compose,訪問http://localhost:8000
services:
app:
image: ghcr.io/eason0729/novel-tralslate:latest
restart: unless-stopped
network_mode: "host"
environment:
- SQLITE_PATH=/data/database.sqlite3
- "API_URL=http://ollama:11434"
- "WAF_COOKIES=aws-waf-token=get_one_if_you_want_alphapolis.co.jp;"
volumes:
- "./data:/data"
- 下載ollama
- 下載模型
ollama pull hf.co/SakuraLLM/Sakura-1.5B-Qwen2.5-v1.0-GGUF
- 啟動ollama
- 設置
WAF_COOKIES
來爬https://www.alphapolis.co.jp
的輕小說 - 對你的database執行
index.sql
以提昇反應時間 - 使用更大的模型