services: mirofish: image: ghcr.io/666ghj/mirofish:latest # 加速镜像(如拉取缓慢可替换上方地址) # image: ghcr.nju.edu.cn/666ghj/mirofish:latest container_name: mirofish env_file: - .env expose: - "3000" - "5001" command: > sh -c "sed -i 's/server: {/server: { allowedHosts: true,/' /app/frontend/vite.config.js && npm run dev" restart: unless-stopped volumes: - ./backend/uploads:/app/backend/uploads