Skip to content

Commit 4e86928

Browse files
committed
chore: introduce some errors
1 parent 3b81db6 commit 4e86928

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docker-compose.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
name: Test Compose
1+
version: '3.9'
22

33
services:
4+
b-service:
5+
build:
6+
context: ../../app/b-service
7+
dockerfile: Dockerfile
8+
target: builder
9+
args:
10+
- TEST1=${TEST}
11+
- TEST2=${TEST}
12+
container_name: b-service
13+
depends_on:
14+
- c-service
15+
volumes:
16+
- ../../app/flexible-forms-client/:/var/www/app
17+
- /var/www/app/node_modules
18+
ports:
19+
- '127.0.0.1:11131:3000'
20+
command: sh -c "npm run start"
421
a-service:
522
build:
623
context: ../../tests/a-service
@@ -22,24 +39,7 @@ services:
2239
- '127.0.0.1:11032:3000'
2340
command: sh -c "tail -f /dev/null"
2441
expose:
25-
- '3000'
26-
b-service:
27-
build:
28-
context: ../../app/b-service
29-
dockerfile: Dockerfile
30-
target: builder
31-
args:
32-
- TEST1=${TEST}
33-
- TEST2=${TEST}
34-
container_name: b-service
35-
depends_on:
36-
- c-service
37-
volumes:
38-
- ../../app/flexible-forms-client/:/var/www/app
39-
- /var/www/app/node_modules
40-
ports:
41-
- '127.0.0.1:11131:3000'
42-
command: sh -c "npm run start"
42+
- 3000
4343
c-service:
4444
build:
4545
context: ../../tests/c-service

0 commit comments

Comments
 (0)