better building

This commit is contained in:
Mikan
2026-10-17 19:04:20 +04:00
parent fbff0edf77
commit 7009636535
4 changed files with 45 additions and 15 deletions

View File

@@ -20,8 +20,7 @@ services:
- "node.instance=${TAILSCALE_HOSTNAME:-gpu-node}"
ssh:
build:
context: ./ssh
image: gpu-node-ssh
container_name: ${TAILSCALE_HOSTNAME:-gpu-node}-ssh-main
hostname: ssh-main
environment:
@@ -42,8 +41,7 @@ services:
ssh-companion:
profiles:
- wake
build:
context: ./ssh
image: gpu-node-ssh
container_name: ${TAILSCALE_HOSTNAME:-gpu-node}-ssh-companion
hostname: ssh-companion
environment:
@@ -89,8 +87,7 @@ services:
gpu-test:
profiles:
- test
build:
context: ./gpu
image: gpu-node-gpu-test
container_name: ${TAILSCALE_HOSTNAME:-gpu-node}-gpu-test
gpus: all
networks:
@@ -103,8 +100,7 @@ services:
model-worker:
profiles:
- wake
build:
context: ./model-worker
image: gpu-node-model-worker
container_name: ${TAILSCALE_HOSTNAME:-gpu-node}-model-worker
volumes:
- ${HOST_PROJECT_PATH:-./}/gpu/comfy/models:/models
@@ -162,4 +158,4 @@ services:
networks:
gpu-node:
name: ${TAILSCALE_HOSTNAME:-gpu-node}
name: ${TAILSCALE_HOSTNAME:-gpu-node}