Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
73 lines (63 loc) · 1.93 KB
/
Copy path.env.example
File metadata and controls
73 lines (63 loc) · 1.93 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
62
63
64
65
66
67
68
69
70
71
72
73
# ComfyUI API Wrapper Configuration
# Copy this file to .env and customize as needed
# ===========================================
# ComfyUI Connection
# ===========================================
COMFYUI_API_BASE=http://127.0.0.1:8188
COMFYUI_INSTALL_PATH=/workspace/ComfyUI
# ===========================================
# Worker Configuration
# ===========================================
PREPROCESS_WORKERS=3
GENERATION_WORKERS=2
POSTPROCESS_WORKERS=3
MAX_QUEUE_SIZE=100
# ===========================================
# Cache Configuration
# ===========================================
API_CACHE=memory
# API_CACHE=redis
# Redis settings (if using Redis cache)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# ===========================================
# S3 Storage Configuration (Optional)
# ===========================================
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_BUCKET_NAME=
S3_ENDPOINT_URL=
S3_REGION=
S3_CONNECT_TIMEOUT=60
S3_CONNECT_ATTEMPTS=3
# ===========================================
# Webhook Configuration (Optional)
# ===========================================
WEBHOOK_URL=
WEBHOOK_TIMEOUT=30
# When set, every outgoing webhook is signed with HMAC-SHA256 over
# the body bytes and the signature is sent as
# `X-Webhook-Signature: sha256=<hex>`. Per-request
# `webhook.secret` in the submit payload overrides this.
WEBHOOK_SECRET=
# ===========================================
# Development/Debug Configuration
# ===========================================
DEBUG=false
# ===========================================
# Example Production Configuration
# ===========================================
# For production with Redis and S3:
# API_CACHE=redis
# REDIS_HOST=redis-server
# S3_ACCESS_KEY_ID=your-production-key
# S3_SECRET_ACCESS_KEY=your-production-secret
# S3_BUCKET_NAME=your-production-bucket
# PREPROCESS_WORKERS=5
# GENERATION_WORKERS=3
# POSTPROCESS_WORKERS=5
# DEBUG=false
# For development:
# DEBUG=true