diff --git a/docker/.env b/docker/.env index 4345b784fe..36acba8c16 100644 --- a/docker/.env +++ b/docker/.env @@ -16,6 +16,10 @@ MEM_LIMIT=4073741824 MYSQL_PASSWORD=infini_rag_flow MYSQL_PORT=5455 +# Port to expose minio to the host +MINIO_CONSOLE_PORT=9001 +MINIO_PORT=9000 + MINIO_USER=rag_flow MINIO_PASSWORD=infini_rag_flow diff --git a/docker/docker-compose-base.yml b/docker/docker-compose-base.yml index 282c5ec704..b110ce9525 100644 --- a/docker/docker-compose-base.yml +++ b/docker/docker-compose-base.yml @@ -80,8 +80,8 @@ services: container_name: ragflow-minio command: server --console-address ":9001" /data ports: - - 9000:9000 - - 9001:9001 + - ${MINIO_PORT}:9000 + - ${MINIO_CONSOLE_PORT}:9001 environment: - MINIO_ROOT_USER=${MINIO_USER} - MINIO_ROOT_PASSWORD=${MINIO_PASSWORD}