-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 882 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 882 Bytes
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
networks:
ai-services:
external: true
services:
comfy:
image: servicestack/agent-comfy:latest
container_name: agent-comfy
networks:
- ai-services
ports:
- "7860:7860"
volumes:
- ./data/.cache:/data/.cache
- ./data/models:/data/models
- ./data/input:/data/input
- ./data/output:/data/output
- ./data/config:/data/config
- ./data/notebooks:/data/notebooks
- ./data/user:/data/user
- /home/mythz/src/ServiceStack:/data/custom_nodes
environment:
- CLI_ARGS=--output-directory /data/output --temp-directory /data/output/temp --user-directory /data/user
env_file:
- path: .env
required: false
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]