Create docker-compose.yml
Browse files- docker-compose.yml +14 -0
docker-compose.yml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: '3'
|
2 |
+
services:
|
3 |
+
backend:
|
4 |
+
build: ./backend
|
5 |
+
ports:
|
6 |
+
- "5000:5000"
|
7 |
+
frontend:
|
8 |
+
image: nginx:alpine
|
9 |
+
volumes:
|
10 |
+
- ./frontend:/usr/share/nginx/html
|
11 |
+
ports:
|
12 |
+
- "8080:80"
|
13 |
+
depends_on:
|
14 |
+
- backend
|