lan-party-backend/start_mongodb.sh

9 lines
228 B
Bash
Raw Normal View History

2022-08-30 13:15:57 +02:00
#!/bin/sh
podman run -d --rm --name lan_party_db \
2022-09-15 16:32:42 +02:00
-v lan-party-db-2:/data/db:z \
2022-08-30 13:15:57 +02:00
-p "27017:27017" \
2022-08-29 20:08:16 +02:00
-e MONGO_INITDB_ROOT_USERNAME=root \
-e MONGO_INITDB_ROOT_PASSWORD=example \
docker.io/mongo:latest