-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Instructions
Azita Abdollahi edited this page Apr 15, 2025
·
1 revision
openssl rand -base64 756 > replica.key
sudo chown 999:999 replica.key
chmod 600 replica.key
docker network create \
--driver=bridge \
--subnet=192.168.22.0/24 \
--ip-range=192.168.22.0/24 \
--gateway=192.168.22.254 \
connet
cp .env.example .env
docker compose up -d
Once all MongoDB containers are healthy, the mongo-init container will automatically initiate the replica set.