From 73d16e91110e19cf66bd323a885725d65449edc3 Mon Sep 17 00:00:00 2001 From: IgorVolochay Date: Thu, 13 Aug 2026 11:53:18 +0300 Subject: [PATCH] Update compose file --- docker-compose.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c21f383..70dd320 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: mongodb: - image: mongodb/mongodb-community-server + image: mongo:latest container_name: tort-mongodb restart: always network_mode: bridge @@ -12,7 +12,7 @@ services: ports: - "127.0.0.1:${MONGO_PORT}:27017" healthcheck: - test: ["CMD", "mongosh", "--username", "${MONGO_USER}", "--password", "${MONGO_PASS}", "--eval", "db.runCommand({ ping: 1 })"] + test: [ "CMD", "mongosh", "--username", "${MONGO_USER}", "--password", "${MONGO_PASS}", "--eval", "db.runCommand({ ping: 1 })" ] interval: 10s timeout: 5s retries: 2 @@ -31,4 +31,3 @@ services: MONGO_PORT: ${MONGO_PORT} MONGO_USER: ${MONGO_USER} MONGO_PASS: ${MONGO_PASS} -