stablediffusion-infinity/docker-compose.yml
adripo aadee1826c refactor: add app content inside image
remove useless options
2022-12-04 02:38:52 +01:00

22 lines
464 B
YAML

services:
sd-infinity:
build:
context: .
dockerfile: ./docker/Dockerfile
#shm_size: '2gb' # Enable if more shared memory is needed
ports:
- "8888:8888"
volumes:
- user_home:/home/user
- cond_env:/opt/conda/envs
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]
volumes:
user_home: {}
cond_env: {}