From dc99398ee7f8b7919e3b193b3a8649fa49f466be Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:04:43 +0900 Subject: [PATCH] scrub --- .gitignore | 1 + comfy-flux/docker-compose.yml | 19 +++++++++++++++++++ linux-bash/bash_aliases.sh | 4 ---- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 comfy-flux/docker-compose.yml diff --git a/.gitignore b/.gitignore index 763513e..337d25d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .ipynb_checkpoints +__pycache__ \ No newline at end of file diff --git a/comfy-flux/docker-compose.yml b/comfy-flux/docker-compose.yml new file mode 100644 index 0000000..cf957e0 --- /dev/null +++ b/comfy-flux/docker-compose.yml @@ -0,0 +1,19 @@ +x-defaults: &defaults + restart: unless-stopped + stop_grace_period: 0s + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] +services: + comfy: + image: yauk.tv/comfy + container_name: comfy + <<: *defaults + ports: + - 8188:8188 + volumes: + - ./output:/app/output # CHANGE /home/w/comfy or DELETE this line \ No newline at end of file diff --git a/linux-bash/bash_aliases.sh b/linux-bash/bash_aliases.sh index a94926d..9db8fc9 100644 --- a/linux-bash/bash_aliases.sh +++ b/linux-bash/bash_aliases.sh @@ -164,7 +164,3 @@ ign() { alias r="redis-cli" q() { "$@" > /dev/null 2>&1 & } - -log() { - python -c "while log := __import__('redis').Redis().brpop('log'): print(log[1].decode())" -}