Skip to content

Commit

Permalink
feat: use local ".env" to load env variables, mount "comfyui/output" …
Browse files Browse the repository at this point in the history
…to localhost so that people can see the generated images
  • Loading branch information
TimPietrusky committed Oct 11, 2023
1 parent ae0ea6e commit aa645a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
version: '3.8'
version: "3.8"

services:
comfyui:
image: timpietruskyblibla/runpod-worker-comfy:1.0.0
container_name: comfyui-worker
environment:
- NVIDIA_VISIBLE_DEVICES=all
env_file:
- .env
runtime: nvidia
volumes:
- ./data:/data
- ./data/comfyui/output:/comfyui/output

0 comments on commit aa645a2

Please sign in to comment.