lan-party-backend/start_mongodb.sh

9 lines
226 B
Bash
Executable File

#!/bin/sh
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