适配新的文件上传

This commit is contained in:
2025-07-04 18:57:58 +08:00
parent b40d1264f9
commit 96657ed5cf
3 changed files with 25 additions and 2 deletions
+19 -1
View File
@@ -47,7 +47,7 @@ services:
ports:
- "${SERVER_HTTP_PORT}:3001" #http端口
- "${SERVER_WS_PORT}:3002" #websocket端口
read_only: true
# read_only: true
networks:
comfyai:
ipv4_address: 172.21.0.6
@@ -147,6 +147,24 @@ services:
# - "${PORTAINER_PORT}:9000"
# - "${PORTAINER_HTTPS_PORT}:9443"
read_only: true
# minio:
# # image: minio/minio
# image: registry.cn-shanghai.aliyuncs.com/comfy-ai/minio:latest
# ports:
# - "9000:9000"
# - "9001:9001" # MinIO Console (UI) 端口
# volumes:
# - ./data:/data # **修改这里:将 ./data 替换为你的本地路径**
# environment:
# MINIO_ROOT_USER: ${MINIO_ROOT_USER}
# MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD} # 生产环境请务必修改
# command: server /data --console-address ":9001"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
# interval: 30s
# timeout: 20s
# retries: 3
# restart: always
volumes:
mongo_data:
portainer_data: