Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
engkhsky opened this issue Jun 19, 2023 · 2 comments

Comments

@engkhsky
Copy link

engkhsky commented Jun 19, 2023

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

@danhab99
Copy link

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

@plh97
Copy link

plh97 commented Sep 24, 2024

same problem............

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants