Created
September 6, 2025 14:38
-
-
Save MicahZoltu/ad8ca8d4265119d1b6d3e05c12acb721 to your computer and use it in GitHub Desktop.
Starter Local AI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'local-ai' | |
| services: | |
| openwebui: | |
| image: 'ghcr.io/open-webui/open-webui' | |
| deploy: | |
| restart_policy: | |
| condition: on-failure | |
| delay: 5s | |
| max_attempts: 3 | |
| window: 120s | |
| ports: | |
| - target: '8080' | |
| published: '8080' | |
| protocol: 'tcp' | |
| volumes: | |
| - type: 'volume' | |
| source: 'open-webui' | |
| target: '/app/backend/data' | |
| environment: | |
| WEBUI_AUTH: 'False' | |
| BYPASS_MODEL_ACCESS_CONTROL: 'True' | |
| OLLAMA_BASE_URL: 'http://ollama:11434' | |
| DEFAULT_MODELS: 'qwen3:8b' | |
| OFFLINE_MODE: 'true' | |
| ollama: | |
| image: 'ollama/ollama' | |
| deploy: | |
| restart_policy: | |
| condition: on-failure | |
| delay: 5s | |
| max_attempts: 3 | |
| window: 120s | |
| volumes: | |
| - type: 'volume' | |
| source: 'ollama' | |
| target: '/root/.ollama' | |
| environment: | |
| OLLAMA_KEEP_ALIVE: '30m' | |
| OLLAMA_CONTEXT_LENGTH: '32768' | |
| volumes: | |
| open-webui: | |
| ollama: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'local-ai' | |
| services: | |
| openwebui: | |
| image: 'ghcr.io/open-webui/open-webui:cuda' | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: 1 | |
| capabilities: [gpu] | |
| restart_policy: | |
| condition: on-failure | |
| delay: 5s | |
| max_attempts: 3 | |
| window: 120s | |
| ports: | |
| - target: '8080' | |
| published: '8080' | |
| protocol: 'tcp' | |
| volumes: | |
| - type: 'volume' | |
| source: 'open-webui' | |
| target: '/app/backend/data' | |
| environment: | |
| USE_CUDA_DOCKER: 'True' | |
| WEBUI_AUTH: 'False' | |
| BYPASS_MODEL_ACCESS_CONTROL: 'True' | |
| OLLAMA_BASE_URL: 'http://ollama:11434' | |
| DEFAULT_MODELS: 'qwen3:8b' | |
| OFFLINE_MODE: 'true' | |
| ollama: | |
| image: 'ollama/ollama' | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: 1 | |
| capabilities: [gpu] | |
| restart_policy: | |
| condition: on-failure | |
| delay: 5s | |
| max_attempts: 3 | |
| window: 120s | |
| volumes: | |
| - type: 'volume' | |
| source: 'ollama' | |
| target: '/root/.ollama' | |
| environment: | |
| OLLAMA_KEEP_ALIVE: '30m' | |
| OLLAMA_CONTEXT_LENGTH: '32768' | |
| volumes: | |
| open-webui: | |
| ollama: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment