mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-16 17:42:58 +08:00
[ENV-2] Wire .env file into docker-compose for Nano Banana
This commit is contained in:
parent
a1cbb66083
commit
b9db75631c
@ -14,6 +14,8 @@ services:
|
|||||||
count: all
|
count: all
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
ipc: host
|
ipc: host
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app/ComfyUI # Mount local repo (for git checkout updates)
|
- .:/app/ComfyUI # Mount local repo (for git checkout updates)
|
||||||
- comfyui-models:/app/ComfyUI/models # Persist models
|
- comfyui-models:/app/ComfyUI/models # Persist models
|
||||||
@ -23,6 +25,7 @@ services:
|
|||||||
- comfyui-user:/app/ComfyUI/user # Persist user settings/workflows
|
- comfyui-user:/app/ComfyUI/user # Persist user settings/workflows
|
||||||
- comfyui-venv:/app/venv # Cache virtualenv
|
- comfyui-venv:/app/venv # Cache virtualenv
|
||||||
environment:
|
environment:
|
||||||
|
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user