Skip to content

Commit eacde7e

Browse files
committed
Add docker-compose.yaml
1 parent f413930 commit eacde7e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docker-compose/docker-compose.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: '2'
2+
services:
3+
4+
crud-mysql:
5+
container_name: crud-mysql
6+
image: muhammadhanif/phonebook:mysql
7+
ports:
8+
- "3306:3306"
9+
10+
crud-flask:
11+
container_name: crud-flask
12+
image: muhammadhanif/phonebook:flask
13+
ports:
14+
- "8181:8181"
15+
working_dir: /hnf/source_code
16+
command: python server.py
17+
links:
18+
- crud-mysql
19+

0 commit comments

Comments
 (0)