-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
60 lines (59 loc) · 1.23 KB
/
docker-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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.3"
services:
farmer:
container_name: farmer
build:
context: .
dockerfile: docker/farmer.dockerfile
volumes:
- ./testing/farmer:/etc/grlx/farmer
- .:/app
- go-modules:/go/pkg/mod
image: grlx/farmer:latest
restart: unless-stopped
ports:
- "5406:5406"
- "5405:5405"
sprout_a:
image: grlx/sprout:latest
build:
context: .
dockerfile: docker/sprout.dockerfile
volumes:
- ./testing/sprout_a:/etc/grlx/sprout
- .:/app
- go-modules:/go/pkg/mod
depends_on:
- farmer
sprout_b:
volumes:
- ./testing/sprout_b:/etc/grlx/sprout
image: grlx/sprout:latest
depends_on:
- farmer
sprout_c:
volumes:
- ./testing/sprout_c:/etc/grlx/sprout
image: grlx/sprout:latest
depends_on:
- farmer
sprout_d:
volumes:
- ./testing/sprout_d:/etc/grlx/sprout
image: grlx/sprout:latest
depends_on:
- farmer
sprout_e:
volumes:
- ./testing/sprout_e:/etc/grlx/sprout
image: grlx/sprout:latest
depends_on:
- farmer
sprout_f:
volumes:
- ./testing/sprout_f:/etc/grlx/sprout
image: grlx/sprout:latest
depends_on:
- farmer
volumes:
go-modules: