Skip to content

Commit 6a95893

Browse files
committed
Create docker-compose.yml
add docker-compose file
1 parent 0aba3f7 commit 6a95893

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lessons/docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '3'
2+
services:
3+
mongo:
4+
container_name: learn-mongo
5+
image: mongo
6+
ports:
7+
- '27017:27017'
8+
# MongoAdmin kinda like phpmysql
9+
# DOCS: https://hub.docker.com/_/mongo-express
10+
mongo-express:
11+
image: "mongo-express:latest"
12+
ports:
13+
- "8081:8081"

0 commit comments

Comments
 (0)