From 573e0661fd8204cb8430af91739223b6846a1ef3 Mon Sep 17 00:00:00 2001 From: Mat Date: Sun, 28 May 2023 00:19:23 +0200 Subject: [PATCH] env: shorten and unify webui prefix --- docker-compose.yml | 12 ++++++------ example.env | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0235539..308e33c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,14 +30,14 @@ services: build: ./services/AUTOMATIC1111 image: sd-auto:56 environment: - - CLI_ARGS=${WEB_UI_ARGS:---allow-code --medvram --xformers --enable-insecure-extension-access --api} + - CLI_ARGS=${WEBUI_ARGS:---allow-code --medvram --xformers --enable-insecure-extension-access --api} auto-cpu: <<: *automatic profiles: ["auto-cpu"] deploy: {} environment: - - CLI_ARGS=${WEB_UI_ARGS:---no-half --precision full --allow-code --enable-insecure-extension-access --api} + - CLI_ARGS=${WEBUI_ARGS:---no-half --precision full --allow-code --enable-insecure-extension-access --api} invoke: &invoke <<: *base_service @@ -46,14 +46,14 @@ services: image: sd-invoke:28 environment: - PRELOAD=true - - CLI_ARGS=${WEB_UI_ARGS:---xformers} + - CLI_ARGS=${WEBUI_ARGS:---xformers} # invoke-cpu: # <<: *invoke # profiles: ["invoke-cpu"] # environment: # - PRELOAD=true - # - CLI_ARGS=${WEB_UI_ARGS:---always_use_cpu} + # - CLI_ARGS=${WEBUI_ARGS:---always_use_cpu} comfy: &comfy <<: *base_service @@ -62,11 +62,11 @@ services: image: sd-comfy:2 tty: true environment: - - CLI_ARGS=${WEB_UI_ARGS:-} + - CLI_ARGS=${WEBUI_ARGS:-} comfy-cpu: <<: *comfy profiles: ["comfy-cpu"] deploy: {} environment: - - CLI_ARGS=${WEB_UI_ARGS:---cpu} + - CLI_ARGS=${WEBUI_ARGS:---cpu} diff --git a/example.env b/example.env index 637fbb1..9d11e97 100644 --- a/example.env +++ b/example.env @@ -30,4 +30,4 @@ ### CONTAINER SETTINGS ### ########################## -#WEB_UI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api +#WEBUI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api