better building
This commit is contained in:
14
compose.yaml
14
compose.yaml
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user