-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker.compose.dev.yaml
31 lines (30 loc) · 1018 Bytes
/
docker.compose.dev.yaml
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
###
### Contains windows development configuration for image
###
version: "3.8"
services:
comfyui:
extends:
file: ./docker.compose.common.yaml
service: comfyui_common
## for windows development (with wsl2):
volumes:
# mount output folder so you can see output files
- ./output:/comfyui/output
# mount 'volume/localmount' to act as a runpod volume clone
- ./volume/localmount:/runpod-volume
# mount test_input.json so we dont need to rebuild if just changing that
- ./examples/test_input.json:/test_input.json
# include .env file since we are running locally
env_file: .env
# add container deployment restrictions and reservations
# allows us to set a limit on RAM usage and pass our nvidia gpu compute to container
deploy:
resources:
limits:
memory: 32G
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [compute, utility]