-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-bake.hcl
55 lines (43 loc) · 1.23 KB
/
docker-bake.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
51
52
53
54
55
variable "REGISTRY" {
default = "docker.io"
}
variable "REGISTRY_USER" {
default = "ashleykza"
}
variable "APP" {
default = "stable-diffusion-webui"
}
variable "RELEASE" {
default = "7.4.4"
}
variable "CU_VERSION" {
default = "121"
}
variable "BASE_IMAGE_REPOSITORY" {
default = "ashleykza/a1111"
}
variable "BASE_IMAGE_VERSION" {
default = "1.10.0.post7"
}
variable "PYTHON_VERSION" {
default = "3.10"
}
target "default" {
dockerfile = "Dockerfile"
tags = ["${REGISTRY}/${REGISTRY_USER}/${APP}:${RELEASE}"]
args = {
RELEASE = "${RELEASE}"
BASE_IMAGE = "${BASE_IMAGE_REPOSITORY}:${BASE_IMAGE_VERSION}"
INDEX_URL = "https://download.pytorch.org/whl/cu${CU_VERSION}"
KOHYA_VERSION = "v24.1.6"
KOHYA_TORCH_VERSION = "2.1.2+cu${CU_VERSION}"
KOHYA_XFORMERS_VERSION = "0.0.23.post1"
INVOKEAI_VERSION = "4.2.7post1"
INVOKEAI_TORCH_VERSION = "2.2.2+cu${CU_VERSION}"
INVOKEAI_XFORMERS_VERSION = "0.0.25.post1"
COMFYUI_COMMIT = "a178e25912b01abf436eba1cfaab316ba02d272d"
COMFYUI_TORCH_VERSION = "2.4.0+cu${CU_VERSION}"
COMFYUI_XFORMERS_VERSION = "0.0.27.post2"
VENV_PATH = "/workspace/venvs/a1111"
}
}