fix: remove exposed ports for mongo

exposed ports between services in the same stack is not needed
This commit is contained in:
adripo
2022-06-30 13:11:21 +02:00
committed by GitHub
parent 64b1a9e5c0
commit 56db43da79

View File

@@ -19,11 +19,9 @@ services:
image: tzahi12345/youtubedl-material:latest image: tzahi12345/youtubedl-material:latest
ytdl-mongo-db: ytdl-mongo-db:
image: mongo image: mongo
ports:
- "27017:27017"
logging: logging:
driver: "none" driver: "none"
container_name: mongo-db container_name: mongo-db
restart: always restart: always
volumes: volumes:
- ./db/:/data/db - ./db/:/data/db