Skip to content

docker-compose minio_create-1 failure in command #1

@sigmoid-bar

Description

@sigmoid-bar

I have been trying to set up the server via the docker-compose command.
It results in the following output.

backend-1       |  ⨯ [Error: Cannot find module 'react/jsx-runtime'
backend-1       | Require stack:
backend-1       | - /app/.next/standalone/.next/server/pages/_document.js
backend-1       | - /app/.next/standalone/node_modules/.pnpm/next@15.3.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/server/require.js
backend-1       | - /app/.next/standalone/node_modules/.pnpm/next@15.3.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/server/next-server.js
backend-1       | - /app/.next/standalone/node_modules/.pnpm/next@15.3.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/server/next.js
backend-1       | - /app/.next/standalone/server.js] {
backend-1       |   code: 'MODULE_NOT_FOUND',
backend-1       |   requireStack: [Array]
backend-1       | }
minio_create-1  |
minio_create-1  | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
minio_create-1  | ...waiting...
minio_create-1  |
minio_create-1  | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
minio_create-1  | ...waiting...
minio_create-1  |
minio_create-1  | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
minio_create-1  | ...waiting...
minio_create-1  |
minio_create-1  | mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.

I'm guessing its down to the following lines in the docker-compose.yml.

  minio_create:
 66     image: minio/mc
 67     networks:
 68       - mlop_network
 69     depends_on:
 70       - minio
 71     env_file:
 72       - .env
 73     entrypoint: >
 74       /bin/sh -c " until (/usr/bin/mc config host add myminio http://minio:9000 $STORAGE_ACCESS_KEY_ID $STORAGE_SECRET_ACCESS_KEY) do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb myminio/$STORA    GE_BUCKET; /usr/bin/mc anonymous set public myminio/$STORAGE_BUCKET; exit 0; "

I would try to debug further, but I'm not familiar with minio enough to be useful.
Any help or suggestions would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions