FluxGym / fluxgym-main /docker-compose.yml
VideoAditor's picture
Upload 30 files
de59d95 verified
raw
history blame contribute delete
673 Bytes
services:
fluxgym:
build:
context: .
# change the dockerfile to Dockerfile.cuda12.4 if you are running CUDA 12.4 drivers otherwise leave as is
dockerfile: Dockerfile
image: fluxgym
container_name: fluxgym
ports:
- 7860:7860
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./:/app/fluxgym
stop_signal: SIGKILL
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
restart: unless-stopped