mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
invokeai notes
This commit is contained in:
@@ -27,3 +27,17 @@ Additional env file (optional): invokeai/sample.env
|
||||
Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
|
||||
## Docker Run
|
||||
|
||||
```
|
||||
docker run -d \
|
||||
--name invokeai \
|
||||
--restart unless-stopped \
|
||||
-v "/data/invokeai:/invokeai" \
|
||||
-e INVOKEAI_ROOT=/invokeai \
|
||||
-e INVOKEAI_PORT=9090 \
|
||||
-p 9090:9090 \
|
||||
--gpus all \
|
||||
ghcr.io/invoke-ai/invokeai:latest
|
||||
```
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
image: ${INVOKEAI_IMAGE:-ghcr.io/invoke-ai/invokeai:latest}
|
||||
restart: ${INVOKEAI_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-./data}/invokeai:/invokeai
|
||||
- ${VOL_PATH:-/data}/invokeai:/invokeai
|
||||
environment:
|
||||
- INVOKEAI_ROOT=/invokeai
|
||||
- INVOKEAI_PORT=${INVOKEAI_PORT:-9090}
|
||||
|
||||
Reference in New Issue
Block a user