-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathcompose.yaml
More file actions
37 lines (36 loc) · 1013 Bytes
/
compose.yaml
File metadata and controls
37 lines (36 loc) · 1013 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
35
36
37
services:
forge:
image: ghcr.io/ai-dock/stable-diffusion-webui-forge@sha256:36a8b82c9ddec17a88303d933f3d08d2c1d1286617f5642281859f64d40beddc
container_name: dream-forge
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
- FORGE_PORT_HOST=7861
- FORGE_ARGS=--api --listen
- AUTO_UPDATE=false
volumes:
- ./data/forge/models:/opt/stable-diffusion-webui-forge/models:rw
- ./data/forge/outputs:/opt/stable-diffusion-webui-forge/outputs:rw
ports:
- "${BIND_ADDRESS:-127.0.0.1}:${FORGE_PORT:-7861}:7861"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:7861/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 180s
networks:
- dream-network
deploy:
resources:
limits:
cpus: '4.0'
memory: 16G
reservations:
cpus: '1.0'
memory: 4G
networks:
dream-network:
external: true
name: dream-network