Skip to content

Commit bcd55b4

Browse files
committed
heroku test
1 parent 14c0f5f commit bcd55b4

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

docker-compose.yml

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
version: '2'
22
services:
3-
# nginx:
4-
# build:
5-
# context: nginx
6-
# dockerfile: Dockerfile
7-
# ports:
8-
# - "80:80"
9-
# command: nginx -g "daemon off";
10-
# depends_on:
11-
# - nodejs
3+
nginx:
4+
build:
5+
context: nginx
6+
dockerfile: Dockerfile
7+
ports:
8+
- "80:80"
9+
command: nginx -g "daemon off";
10+
depends_on:
11+
- nodejs
1212

1313
nodejs:
1414
build:
1515
context: .
1616
dockerfile: Dockerfile
17-
# expose:
18-
# - "3000"
19-
ports:
20-
- "3000:3000"
17+
expose:
18+
- "3000"
2119
command: npm start
2220

0 commit comments

Comments
 (0)