mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2024-11-22 06:04:16 +03:00
feat: support local .env file with docker-compose
This commit is contained in:
parent
6834512594
commit
947ef17710
@ -30,6 +30,7 @@ services:
|
||||
image: sd-auto:78
|
||||
environment:
|
||||
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
|
||||
env_file: .env
|
||||
|
||||
auto-cpu:
|
||||
<<: *automatic
|
||||
@ -37,6 +38,7 @@ services:
|
||||
deploy: {}
|
||||
environment:
|
||||
- CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
|
||||
env_file: .env
|
||||
|
||||
comfy: &comfy
|
||||
<<: *base_service
|
||||
@ -49,6 +51,7 @@ services:
|
||||
- USE_GID=0
|
||||
- USE_USER=root
|
||||
- USE_GROUP=root
|
||||
env_file: .env
|
||||
|
||||
|
||||
comfy-cpu:
|
||||
@ -57,3 +60,4 @@ services:
|
||||
deploy: {}
|
||||
environment:
|
||||
- CLI_ARGS=--cpu
|
||||
env_file: .env
|
||||
|
Loading…
Reference in New Issue
Block a user