lan-party-backend/start_mongodb.sh

7 lines
213 B
Bash
Raw Normal View History

2022-08-29 20:08:16 +02:00
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