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:
+15
-1
@@ -26,4 +26,18 @@ Additional env file (optional): invokeai/sample.env
|
|||||||
|
|
||||||
Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand
|
Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand
|
||||||
|
|
||||||
Create the Stack
|
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}
|
image: ${INVOKEAI_IMAGE:-ghcr.io/invoke-ai/invokeai:latest}
|
||||||
restart: ${INVOKEAI_RESTART:-unless-stopped}
|
restart: ${INVOKEAI_RESTART:-unless-stopped}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOL_PATH:-./data}/invokeai:/invokeai
|
- ${VOL_PATH:-/data}/invokeai:/invokeai
|
||||||
environment:
|
environment:
|
||||||
- INVOKEAI_ROOT=/invokeai
|
- INVOKEAI_ROOT=/invokeai
|
||||||
- INVOKEAI_PORT=${INVOKEAI_PORT:-9090}
|
- INVOKEAI_PORT=${INVOKEAI_PORT:-9090}
|
||||||
|
|||||||
Reference in New Issue
Block a user