lan-party-backend/start_mongodb.sh

7 lines
213 B
Bash
Executable File

podman run -d --rm --name lan_party_db \
-v lan-party-db:/data/db:z \
-p 27017:27017 \
-e MONGO_INITDB_ROOT_USERNAME=root \
-e MONGO_INITDB_ROOT_PASSWORD=example \
docker.io/mongo:latest