-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (42 loc) · 895 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (42 loc) · 895 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
services:
godoc:
build:
context: .
target: godoc
ports:
- 6060
volumes:
- type: bind
source: .
target: /usr/local/go/src/github.com/hiroara/carbo
# Tools
protoc:
build:
context: .
target: protoc
profiles:
- tool
volumes:
- type: bind
source: .
target: /usr/local/go/src/github.com/hiroara/carbo
command:
- protoc
- --go_out=internal/messaging/pb
- --go_opt=paths=source_relative
- --go-grpc_out=internal/messaging/pb
- --go-grpc_opt=paths=source_relative
- --proto_path=./proto
- communicator.proto
- message.proto
- abort.proto
toolkit:
build:
context: .
target: toolkit
profiles:
- tool
volumes:
- type: bind
source: .
target: /usr/local/go/src/github.com/hiroara/carbo