mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
invokeai without gpu testing
This commit is contained in:
@@ -0,0 +1,54 @@
|
|||||||
|
# Project Name
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
A short 1--3 sentence description of what this Docker Compose project
|
||||||
|
does.
|
||||||
|
|
||||||
|
## Project Details
|
||||||
|
|
||||||
|
- **Project Repository:** [Link](https://example.com)
|
||||||
|
- **Container Image:** [Docker Hub](https://dockerhub.com)
|
||||||
|
- **Compose Example:** [Compose](https://dockerhub.com)
|
||||||
|
- **Documentation:** [Docs](https://dockerhub.com)
|
||||||
|
- **Reverse Proxy Port:** `80`
|
||||||
|
|
||||||
|
## Environment Variable Notes
|
||||||
|
|
||||||
|
List any required or optional environment variables, where they come
|
||||||
|
from, and how they are used.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
VAR_NAME – explanation of purpose
|
||||||
|
ANOTHER_VAR – where to get the value
|
||||||
|
|
||||||
|
## Volume Notes
|
||||||
|
|
||||||
|
Describe important volumes, what they store, and whether they need
|
||||||
|
manual creation or backups.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
/data – persistent application storage
|
||||||
|
/config – configuration files
|
||||||
|
|
||||||
|
## Network Notes
|
||||||
|
|
||||||
|
Requires proxy network
|
||||||
|
|
||||||
|
## Additional Notes / Gotchas
|
||||||
|
|
||||||
|
Add any special information someone should know before running the
|
||||||
|
project---quirks, caveats, network requirements, etc.
|
||||||
|
|
||||||
|
## Dockhand Stack, Deploy from Git
|
||||||
|
|
||||||
|
Cookbooks Repository
|
||||||
|
stackname: invokeai
|
||||||
|
Compose file path: invokeai/compose.yaml
|
||||||
|
Additional env file (optional): invokeai/sample.env
|
||||||
|
|
||||||
|
Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand
|
||||||
|
|
||||||
|
Create the Stack
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
# InvokeAI Docker Compose
|
||||||
|
services:
|
||||||
|
invokeai:
|
||||||
|
image: ${INVOKEAI_IMAGE:-ghcr.io/invoke-ai/invokeai:latest}
|
||||||
|
restart: ${INVOKEAI_RESTART:-unless-stopped}
|
||||||
|
volumes:
|
||||||
|
- ${VOL_PATH:-./data}/invokeai:/invokeai
|
||||||
|
environment:
|
||||||
|
- INVOKEAI_ROOT=/invokeai
|
||||||
|
- INVOKEAI_PORT=${INVOKEAI_PORT:-9090}
|
||||||
|
ports:
|
||||||
|
- "${INVOKEAI_PORT:-9090}:9090"
|
||||||
|
gpus: all
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
INVOKEAI_IMAGE=ghcr.io/invoke-ai/invokeai:latest
|
||||||
|
INVOKEAI_RESTART=unless-stopped
|
||||||
|
INVOKEAI_PORT=9090
|
||||||
|
VOL_PATH=./data
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
services:
|
|
||||||
invokeai:
|
|
||||||
image: ghcr.io/invoke-ai/invokeai:latest
|
|
||||||
ports:
|
|
||||||
- "9090:9090"
|
|
||||||
volumes:
|
|
||||||
- ~/invokeai:/invokeai
|
|
||||||
restart: unless-stopped
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
reservations:
|
|
||||||
devices:
|
|
||||||
- driver: nvidia
|
|
||||||
count: all
|
|
||||||
capabilities: [gpu]
|
|
||||||
Reference in New Issue
Block a user