-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
46 lines (45 loc) · 1.16 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
services:
server:
build:
dockerfile: Dockerfile
tty: true
image: ghcr.io/matatonic/openedai-images
env_file:
- .env
volumes:
- ./config:/app/config
ports:
- 5005:5005
command: ["python", "images.py", "--host", "0.0.0.0", "--port", "5005"]
# You can also use
# environment:
# - SD_BASE_URL=http://stable-diffusion-webui:3001
# With the below config for running SD locally.
#
#stable-diffusion-webui:
# extends:
# #Get the latest file: https://github.com/ashleykleynhans/stable-diffusion-docker/blob/main/docker-compose.yml
# file: docker-compose.sdwui.yml
# service: stable-diffusion-webui
# or
# stable-diffusion-webui:
# image: ashleykza/stable-diffusion-webui:latest
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
# volumes:
# - /workspace:/workspace
# ports:
# - "3000:3001"
# - "3010:3011"
# - "3020:3021"
# - "6006:6066"
# - "8888:8888"
# environment:
# JUPYTER_PASSWORD: "Jup1t3R!"
# ENABLE_TENSORBOARD: "1"
# restart: unless-stopped