通过 Docker 轻松运行 AstrBot;
🛠 准备工作
-
路径设置:查找所有出现的 /your/docker_data/ 路径(涉及 AstrBot.yml 和 deploy.sh 文件),并将其替换为你实际的数据存储路径。
-
代理:确保你的代理服务运行在 7890 端口(构建参数 build-arg 需要用到);或者从 deploy.sh 中移除相关代理配置。
🚀 执行以下命令开始运行:
chmod +x deploy.sh
./deploy.sh
功能特性:
- 与官方同步的 自定义 DockerFile 演示样本
祝使用愉快!
Run AstrBot easily with Docker;
🛠 Prepare
-
Path Setup: Find all instances of
/your/docker_data/(AstrBot.yml、deploy.sh) and replace them with your actual data path. -
Proxy: Ensure your proxy is running on port 7890 (required for build-arg) or remove them form
deploy.sh.
🚀 Run the following commands to start:
chmod +x deploy.sh
./deploy.sh
Features:
- Custom Dockerfile Demo Sample Synced with Official Version.
Enjoy!