19 lines
No EOL
625 B
YAML
19 lines
No EOL
625 B
YAML
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 && npm run dev"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./backend/uploads:/app/backend/uploads |