-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
50 lines (47 loc) · 910 Bytes
/
docker-compose.test.yml
File metadata and controls
50 lines (47 loc) · 910 Bytes
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
version: '3'
services:
pkg_test:
build:
context: ./golang
dockerfile: ./Dockerfile.test
args:
project: ./pkg/...
volumes:
- testing_vol:/usr/src/pkg/
networks:
- monorepo_net
calypso_test:
build:
context: ./golang
dockerfile: ./Dockerfile.test
args:
project: ./cmd/calypso/...
environment:
- PORT=3001
- APP_NAME=echo
depends_on:
- pkg_test
volumes:
- testing_vol:/usr/src/calypso/
networks:
- monorepo_net
echo_test:
build:
context: ./golang
dockerfile: ./Dockerfile.test
args:
project: ./cmd/echo/...
environment:
- PORT=3001
- APP_NAME=echo
depends_on:
- pkg_test
volumes:
- testing_vol:/usr/src/echo/
networks:
- monorepo_net
volumes:
testing_vol:
networks:
monorepo_net:
driver: bridge