update docker compose for replica set

This commit is contained in:
Alex Holliday committed 2025-02-06 10:49:22 -08:00
1 parent ee16ed7987
commit 730d42bae2
1 file changed
+2 -1
+2 -1
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: