lct-hack/docker-bake.hcl

45 lines
1.2 KiB
HCL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Образы стенда: `docker buildx bake` (или `make images`). Push делает человек:
# `docker buildx bake --push`. Теги совпадают с docker-compose.yml.
# Веса берутся из локального backend/models собирающего — `make local-models`.
group "default" {
targets = ["backend", "frontend", "llm", "sip"]
}
target "_common" {
platforms = ["linux/amd64"]
}
target "backend" {
inherits = ["_common"]
context = "backend"
target = "voice"
contexts = {
models = "backend/models"
scenarios = "scenarios"
licenses = "deploy/licenses"
}
tags = ["registry.gglamer.ru/pub/lct-hack-backend:2026.09.29"]
}
target "frontend" {
inherits = ["_common"]
context = "frontend"
tags = ["registry.gglamer.ru/pub/lct-hack-frontend:2026.09.29"]
}
target "llm" {
inherits = ["_common"]
context = "deploy/llm"
contexts = {
models = "backend/models"
licenses = "deploy/licenses"
}
tags = ["registry.gglamer.ru/pub/lct-hack-llm:2026.09.29"]
}
target "sip" {
inherits = ["_common"]
context = "sip"
tags = ["registry.gglamer.ru/pub/lct-hack-sip:2026.09.29"]
}