feat: 添加 Docker 部署配置

通过 Dockerfile 和 docker-compose.yml 提供容器化部署方案。
This commit is contained in:
2026-05-09 14:20:59 +08:00
parent a0a06dfd8c
commit 02ea794015
2 changed files with 28 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
services:
app:
build:
context: ..
dockerfile: docker/Dockerfile
ports:
- "8000:8000"
env_file:
- ../.env
volumes:
- ../logs:/app/logs
restart: unless-stopped