feat(docker): add Docker support with Dockerfile, docker-compose.yml, and .dockerignore; update README for Docker deployment instructions

This commit is contained in:
666ghj
2026-01-22 14:35:41 +08:00
parent 9556854fbf
commit 0efd9352a0
7 changed files with 156 additions and 9 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
mirofish:
image: ghcr.io/666ghj/mirofish:latest
# 加速镜像(如拉取缓慢可替换上方地址)
# image: ghcr.nju.edu.cn/666ghj/mirofish:latest
container_name: mirofish
env_file:
- .env
ports:
- "3000:3000"
- "5001:5001"
restart: unless-stopped
volumes:
- ./backend/uploads:/app/backend/uploads