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