initial commit

This commit is contained in:
hiperman
2026-01-30 15:07:31 -05:00
commit 7844cc4416
83 changed files with 3802 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Open WebUI
Deploy Open WebUI for LLM interactions using Docker Compose.
## Description
Open WebUI is a user-friendly web interface for Large Language Models, compatible with OpenAI API.
## Variables
### Optional
| Variable | Default | Description |
|----------|---------|-------------|
| `open_webui_http_port` | `5000` | Web interface port |
| `open_webui_data_path` | `{{ app_dir }}/data` | Application data storage |
| `open_webui_container_version` | `main` | Open WebUI Docker image tag |
| `open_webui_env_vars` | See defaults | Dictionary of environment variables |
## Example
```yaml
- role: patrickj.docker_apps.open-webui
vars:
open_webui_http_port: 8080
open_webui_env_vars:
OLLAMA_BASE_URL: http://localhost:11434
BYPASS_MODEL_ACCESS_CONTROL: "true"
```
+18
View File
@@ -0,0 +1,18 @@
---
app_name: open-webui
# Container configuration
open_webui_container_name: "{{ app_name | default('open-webui') }}"
open_webui_container_version: main
open_webui_restart_policy: "{{ app_restart_policy }}"
# Network configuration
open_webui_http_port: 5000
# Volume paths
open_webui_data_path: "{{ app_dir }}/data"
# App-specific configuration
open_webui_env_vars:
OLLAMA_BASE_URL: http://localhost:11434
BYPASS_MODEL_ACCESS_CONTROL: "true"
+14
View File
@@ -0,0 +1,14 @@
---
galaxy_info:
author: Patrick Jaroszewski
description: Deploy Open-WebUI with Docker Compose
license: MIT
dependencies:
- role: patrickj.docker_apps.docker_compose_app
vars:
app_role_name: open-webui
app_subdirectories:
- "{{ open_webui_data_path }}"
app_backup_subdirectories:
- "{{ open_webui_data_path }}"
+18
View File
@@ -0,0 +1,18 @@
---
services:
openWebUI:
image: ghcr.io/open-webui/open-webui:{{ open_webui_container_version }}
container_name: {{ open_webui_container_name }}
restart: {{ open_webui_restart_policy }}
ports:
- "{{ open_webui_http_port }}:8080"
volumes:
- "{{ open_webui_data_path }}:/app/backend/data"
{% if open_webui_env_vars | length > 0 %}
environment:
{% for item in open_webui_env_vars | dict2items %}
- {{ item.key }}={{ item.value }}
{% endfor %}
{% endif %}