forked from FurkanGozukara/stable-diffusion-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
56 lines (47 loc) · 1.35 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
56
variable "REGISTRY" {
default = "docker.io"
}
variable "REGISTRY_USER" {
default = "ashleykza"
}
variable "APP" {
default = "stable-diffusion-webui"
}
variable "RELEASE" {
default = "5.5.0"
}
variable "CU_VERSION" {
default = "118"
}
variable "BASE_IMAGE_REPOSITORY" {
default = "ashleykza/runpod-base"
}
variable "BASE_IMAGE_VERSION" {
default = "1.1.0"
}
variable "CUDA_VERSION" {
default = "11.8.0"
}
variable "TORCH_VERSION" {
default = "2.1.2"
}
target "default" {
dockerfile = "Dockerfile"
tags = ["${REGISTRY}/${REGISTRY_USER}/${APP}:${RELEASE}"]
args = {
RELEASE = "${RELEASE}"
BASE_IMAGE = "${BASE_IMAGE_REPOSITORY}:${BASE_IMAGE_VERSION}-cuda${CUDA_VERSION}-torch${TORCH_VERSION}"
INDEX_URL = "https://download.pytorch.org/whl/cu${CU_VERSION}"
TORCH_VERSION = "${TORCH_VERSION}+cu${CU_VERSION}"
XFORMERS_VERSION = "0.0.23.post1+cu${CU_VERSION}"
WEBUI_VERSION = "v1.9.3"
CONTROLNET_COMMIT = "59d5998823daabd73d6339b3d21c9cdda27b0286"
DREAMBOOTH_COMMIT = "45a12fe5950bf93205b6ef2b7511eb94052a241f"
CIVITAI_BROWSER_PLUS_VERSION = "v3.5.4"
KOHYA_VERSION = "v24.1.3"
INVOKEAI_VERSION = "4.2.0"
APP_MANAGER_VERSION = "1.1.0"
CIVITAI_DOWNLOADER_VERSION = "2.1.0"
VENV_PATH = "/workspace/venvs/${APP}"
}
}