mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-10-05 00:36:24 +00:00
📝 更新 .gitignore 文件以包含开发相关的忽略项;更新 Dockerfile 以支持 uvicorn 和虚拟环境;删除不再使用的 docker-compose 文件;重构 main.py 以使用 FastAPI;更新 pyproject.toml 和 uv.lock 文件以添加 uvicorn 依赖;创建 Makefile 和 docker-compose-dev.yaml 示例文件。
This commit is contained in:
14
docker-compose-example.yaml
Normal file
14
docker-compose-example.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
liteyukibot:
|
||||
container_name: bot
|
||||
# Liteyuki latest: reg.liteyuki.icu/bot/app:latest
|
||||
# Liteyuki nightly: reg.liteyuki.icu/bot/app:nightly
|
||||
# GHCR latest: ghcr.io/liteyukistudio/bot-app:latest 暂未发布
|
||||
# Docker Hub latest: docker.io/liteyukistudio/bot-app:latest 暂未发布
|
||||
image: reg.liteyuki.icu/bot/app:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- ./plugins:/liteyukibot/plugins # 外部插件目录,插件开发者可用
|
||||
- ./data:/liteyukibot/data # 数据目录,包含下载器安装的插件目录
|
||||
ports:
|
||||
- "8090:8080"
|
Reference in New Issue
Block a user