feat: Add Docker support, GitHub Actions CI, and an MIT License, updating READMEs with deployment instructions and badges.

This commit is contained in:
2569718930@qq.com
2026-03-03 00:01:57 +08:00
parent cb0ecd9c3f
commit 0c6beab350
6 changed files with 153 additions and 14 deletions
+13
View File
@@ -0,0 +1,13 @@
version: "3.8"
services:
polyweather:
build: .
container_name: polyweather_bot
restart: unless-stopped
env_file:
- .env
volumes:
- ./data:/app/data # 挂载数据目录,确保历史数据持久化
- ./bot.log:/app/bot.log # 挂载日志文件
user: "${UID:-1000}:${GID:-1000}"