-
Notifications
You must be signed in to change notification settings - Fork 17
/
compose.yml
41 lines (39 loc) · 1003 Bytes
/
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
volumes:
models:
extensions:
services:
app:
build: .
volumes:
- ./config.json:/usr/local/bin/config.json
- ./location:/usr/local/bin/location
- ./db/user_center.db:/usr/local/bin/user_center.db
app-dev:
image: cosmtrek/air
working_dir: /project
environment:
- GOFLAGS=-buildvcs=false
profiles:
- dev
volumes:
- ./config.json:/project/tmp/config.json
- ./location:/project/tmp/location
- ./:/project/
automatic:
image: goolashe/automatic1111-sd-webui
environment:
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api --disable-safe-unpickle
ports:
- "${WEBUI_PORT:-7860}:7860"
volumes:
- ./data:/data
- ./output:/output
stop_signal: SIGKILL
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [compute, utility]