From ea022f74563309889c34754746e0ac30914644f8 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Mon, 4 May 2026 19:15:58 +0000 Subject: [PATCH] invokeai notes --- invokeai/README.md | 16 +++++++++++++++- invokeai/compose.yaml | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/invokeai/README.md b/invokeai/README.md index 78f0075..9591bd8 100644 --- a/invokeai/README.md +++ b/invokeai/README.md @@ -26,4 +26,18 @@ Additional env file (optional): invokeai/sample.env Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand -Create the Stack \ No newline at end of file +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 + ``` \ No newline at end of file diff --git a/invokeai/compose.yaml b/invokeai/compose.yaml index 7a53f8f..150a70d 100644 --- a/invokeai/compose.yaml +++ b/invokeai/compose.yaml @@ -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}