-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yml
47 lines (42 loc) · 1.08 KB
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
services:
express-server:
image: docker_username/express-server
build:
context: .
dockerfile: ./apps/express-server/Dockerfile
ports:
- '8000:8000'
# somehow port mapping not working for this
nestjs-server:
image: docker_username/nestjs-server
build:
context: .
dockerfile: ./apps/nestjs-server/Dockerfile
ports:
- '4000:4000'
# run react-client-prod build on Port 5000
react-client:
image: docker_username/react-client
build:
context: .
dockerfile: ./apps/react-client/Dockerfile
ports:
- '3000:80'
# run react-client in dev mode on Port 3000, with hot reloading
react-client-dev:
image: docker_username/react-client-dev
build:
context: .
dockerfile: ./apps/react-client/Dockerfile.dev
ports:
- '3001:3000'
volumes:
- '/app/node_modules'
- './apps/react-client:/app/apps/react-client'
next-client:
image: docker_username/next-client
build:
context: .
dockerfile: ./apps/next-client/Dockerfile
ports:
- '3002:3000'