prisma-examples icon indicating copy to clipboard operation
prisma-examples copied to clipboard

mongo-single-replica: Error /usr/local/bin/docker-entrypoint.sh: line 407: -u: command not found

Open engkhsky opened this issue 1 year ago • 2 comments

I have this problem when running docker compose

/usr/local/bin/docker-entrypoint.sh: line 407: -u: command not found

I see the solution to the issue is to increase the waiting time but i increased to 10 and it is still unable to work Below is my docker compose

mongodb: image: prismagraphql/mongo-single-replica:4.4.3-bionic environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: prisma INIT_WAIT_SEC: 10 ports: - 27017:27017 networks: - remix-list-app volumes: - mongo-data:/data/db

engkhsky avatar Jun 19 '23 02:06 engkhsky

I'm having the same problem. Mongo can't be redeployed when a volume is attached.

danhab99 avatar Dec 17 '23 19:12 danhab99