-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
46 lines (42 loc) · 850 Bytes
/
compose.yaml
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:
development:
build:
context: .
dockerfile: docker/Dockerfile.dev
image: # Name of the image
ports:
- "6002:6002"
volumes:
- ./:/app
- /app/node_modules/
production:
build:
context: .
dockerfile: docker/Dockerfile.prod
image: # Name of the image
ports:
- "6002:6002"
restart: always
test:
build:
context: .
dockerfile: docker/Dockerfile.stage
target: test
image: # Name of the image
volumes:
- ./:/app
staging-only:
build:
context: .
dockerfile: docker/Dockerfile.stage
target: staging
image: # Name of the image
ports:
- "6002:6002"
staging:
build:
context: .
dockerfile: docker/Dockerfile.stage
image: # Name of the image
ports:
- "6002:6002"