diff --git a/invokeai/README.md b/invokeai/README.md new file mode 100644 index 0000000..94cc513 --- /dev/null +++ b/invokeai/README.md @@ -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 \ No newline at end of file diff --git a/invokeai/compose.yaml b/invokeai/compose.yaml new file mode 100644 index 0000000..7a53f8f --- /dev/null +++ b/invokeai/compose.yaml @@ -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 diff --git a/invokeai/sample.env b/invokeai/sample.env new file mode 100644 index 0000000..e42ac48 --- /dev/null +++ b/invokeai/sample.env @@ -0,0 +1,4 @@ +INVOKEAI_IMAGE=ghcr.io/invoke-ai/invokeai:latest +INVOKEAI_RESTART=unless-stopped +INVOKEAI_PORT=9090 +VOL_PATH=./data diff --git a/invokeai_dev/docker-compose.yml b/invokeai_dev/docker-compose.yml deleted file mode 100644 index 25c3b62..0000000 --- a/invokeai_dev/docker-compose.yml +++ /dev/null @@ -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] \ No newline at end of file