Merge pull request #1707 from bluewave-labs/fix/devops/test-server-docker-compose

update docker compose for replica set
This commit is contained in:
Alexander Holliday
2025-02-06 10:50:10 -08:00
committed by GitHub

View File

@@ -46,7 +46,8 @@ services:
start_period: 5s
mongodb:
image: uptime_database_mongo:latest
command: ["mongod", "--quiet", "--auth"]
restart: always
command: ["mongod", "--quiet", "--replSet", "rs0", "--bind_ip_all"]
ports:
- "27017:27017"
volumes: