Skip to content

Commit

Permalink
Обновил компоуз
Browse files Browse the repository at this point in the history
  • Loading branch information
danilpavlov committed Dec 10, 2024
1 parent 6e3295f commit 1323b12
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions hello_world/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1323b12

Please sign in to comment.