修复Docker构建问题和优化配置

- 修复Dockerfile缺少uv.lock和README.md文件的问题
- 更新.dockerignore以正确包含README.md文件
- 优化docker-compose.yml配置
- 更新部署文档
- 添加Docker快速启动指南
This commit is contained in:
root
2025-07-17 20:06:48 +08:00
parent 152e136673
commit c2fb0c440f
5 changed files with 496 additions and 188 deletions

View File

@ -1,4 +1,3 @@
version: '3.8'
services:
sms-forwarder:
@ -33,14 +32,11 @@ services:
image: gotify/server
container_name: gotify
ports:
- "8080:80"
- "24545:80"
volumes:
- gotify_data:/app/data
- ./gotify_data:/app/data
environment:
- GOTIFY_DEFAULTUSER_PASS=admin
restart: unless-stopped
profiles:
- gotify
volumes:
gotify_data: