-
Notifications
You must be signed in to change notification settings - Fork 218
/
docker-compose.build.hcl
50 lines (42 loc) · 940 Bytes
/
docker-compose.build.hcl
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
variable "TAG" {
default = "latest"
}
variable "DISTRO" {
default = "okapi0129"
}
group "default" {
targets = ["chatbot","chatvrm","gateway"]
}
target "chatbot" {
args = {
TAG = null
}
dockerfile = "infrastructure-packaging/Dockerfile.ChatBot"
tags = ["${DISTRO}/virtualwife-chatbot:${TAG}"]
}
target "chatvrm" {
args = {
TAG = null
}
dockerfile = "infrastructure-packaging/Dockerfile.ChatVRM"
tags = ["${DISTRO}/virtualwife-chatvrm:${TAG}"]
}
target "gateway" {
args = {
TAG = null
}
dockerfile = "infrastructure-packaging/Dockerfile.Gateway"
tags = ["${DISTRO}/virtualwife-gateway:${TAG}"]
}
target "chatbot-release" {
inherits = ["chatbot"]
platforms = ["linux/amd64", "linux/arm64"]
}
target "chatvrm-release" {
inherits = ["chatvrm"]
platforms = ["linux/amd64", "linux/arm64"]
}
target "gateway-release" {
inherits = ["gateway"]
platforms = ["linux/amd64", "linux/arm64"]
}