first commit

This commit is contained in:
2026-02-13 12:33:43 +08:00
commit a614102de3
29 changed files with 17053 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
version: '3.8'
services:
web:
build: .
ports:
- "8888:8888"
volumes:
- ./uploads:/app/uploads
environment:
- FORWARDED_ALLOW_IPS=*
- PROXY_HEADERS=1
restart: unless-stopped
# 可选添加nginx反向代理来更好地处理真实IP
nginx:
image: nginx:alpine
ports:
- "88:88"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- /mnt/server/host_message_files:/mnt/server/host_message_files
depends_on:
- web
restart: unless-stopped