-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (52 loc) · 1.14 KB
/
docker-compose.yml
File metadata and controls
53 lines (52 loc) · 1.14 KB
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
47
48
49
50
51
52
53
name: Test Compose
services:
a-service:
build:
context: ../../tests/a-service
dockerfile: Dockerfile
args:
- TEST=${TEST}
container_name: a-service
depends_on:
b-service:
condition: service_healthy
c-service:
condition: service_started
volumes:
- ../../app/a-service/:/var/www/app
- /var/www/app/node_modules
environment:
- TEST=${TEST}
ports:
- '127.0.0.1:11032:3000'
command: sh -c "tail -f /dev/null"
expose:
- '3000'
b-service:
build:
context: ../../app/b-service
dockerfile: Dockerfile
target: builder
args:
- TEST1=${TEST}
- TEST2=${TEST}
container_name: b-service
depends_on:
- c-service
volumes:
- ../../app/flexible-forms-client/:/var/www/app
- /var/www/app/node_modules
ports:
- '127.0.0.1:11131:3000'
command: sh -c "npm run start"
c-service:
build:
context: ../../tests/c-service
dockerfile: Dockerfile
args:
- TEST=${TEST}
environment:
- TEST='HQTb_=d.4*FPN@^;w2)UZ%'
volumes:
data:
driver: local