From 1323b12500c5143e3f6971d57e706cdffacef458 Mon Sep 17 00:00:00 2001 From: ElizabethOnTheBathroomFloor Date: Tue, 10 Dec 2024 23:01:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D1=83=D0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello_world/docker-compose.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/hello_world/docker-compose.yml b/hello_world/docker-compose.yml index d1be45d..5b33fb2 100644 --- a/hello_world/docker-compose.yml +++ b/hello_world/docker-compose.yml @@ -1,22 +1,11 @@ -version: '3.1' +version: "3.8" services: mongo: - image: mongo + image: mongodb/mongodb-community-server:latest restart: always environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example ports: - 27017:27017 - - mongo-express: - image: mongo-express - restart: always - ports: - - 8081:8081 - environment: - ME_CONFIG_MONGODB_ADMINUSERNAME: root - ME_CONFIG_MONGODB_ADMINPASSWORD: example - ME_CONFIG_MONGODB_URL: 'mongodb://root:example@mongo:27017/' - ME_CONFIG_BASICAUTH: false