-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
52 lines (51 loc) · 1.21 KB
/
docker-compose.yml
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
version: "3.7"
services:
webui:
image: ghcr.io/neggles/sd-webui-docker:latest
restart: unless-stopped
container_name: sd-webui
build:
context: ./docker
dockerfile: Dockerfile
target: webui
environment:
CLI_ARGS: "--skip-version-check --allow-code --enable-insecure-extension-access --api --xformers --opt-channelslast"
# make TQDM behave a little better
PYTHONUNBUFFERED: "1"
TERM: "${TERM}"
ports:
- mode: ingress
target: 7860
published: 7860
protocol: tcp
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ./output
target: /output
browser:
image: ghcr.io/neggles/sd-webui-docker/browser:latest
restart: unless-stopped
container_name: sd-browser
profiles:
- "browser"
build:
context: ./browser
dockerfile: Dockerfile
target: browser
environment:
BROWSER_PORT: 7869
ports:
- mode: ingress
target: 7869
published: 7869
protocol: tcp
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ./output
target: /output