-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (61 loc) · 1.94 KB
/
docker-compose.yml
File metadata and controls
61 lines (61 loc) · 1.94 KB
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
57
58
59
60
61
services:
comfyui:
image: ghcr.io/saladtechnologies/comfyui-api:comfy0.19.3-torch2.8.0-cuda12.8-runtime
volumes:
- type: bind
source: ./bin
target: /app/bin
- type: bind
source: ./manifest.yml
target: /app/manifest.yml
- ./cache:/root/.cache/comfyui-api
- ./example-workflows/sd1.5:/workflows
command: ["/app/bin/comfyui-api"]
ports:
- "3000:3000"
- "8188:8188"
environment:
LOG_LEVEL: "debug"
AWS_ENDPOINT_URL: "http://localstack:4566"
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
AWS_REGION: "us-east-1"
MANIFEST: "/app/manifest.yml"
STARTUP_CHECK_MAX_TRIES: "30"
HF_TOKEN: ${HF_TOKEN}
AZURE_STORAGE_CONNECTION_STRING: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;"
# ALWAYS_RESTART_COMFYUI: "true"
SYSTEM_WEBHOOK_URL: "http://host.docker.internal:1234/system"
SYSTEM_WEBHOOK_EVENTS: all
WEBHOOK_SECRET: testsecret
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [ gpu ]
count: all
localstack:
image: localstack/localstack
ports:
- "4566:4566" # LocalStack Gateway
- "4510-4559:4510-4559" # External services
environment:
- SERVICES=s3
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- "10000:10000" # Blob service
command: "azurite-blob --blobHost 0.0.0.0 --blobPort 10000 --skipApiVersionCheck"
file-server:
build:
context: .
dockerfile: test/Dockerfile.file-server
ports:
- "8080:8080"
environment:
- PORT=8080
- STORAGE_DIR=/storage
- REQUIRE_AUTH=false