...
This commit is contained in:
17
ansible/roles/openwebui/templates/composefile.yml
Normal file
17
ansible/roles/openwebui/templates/composefile.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
services:
|
||||
open-webui:
|
||||
image: {{ openwebui_image }}:{{ openwebui_image_tag }}
|
||||
network_mode: host
|
||||
environment:
|
||||
FORWARDED_ALLOW_IPS: '*'
|
||||
OLLAMA_BASE_URL: http://localhost:11434
|
||||
OFFLINE_MODE: True
|
||||
DEFAULT_USER_ROLE: user
|
||||
volumes:
|
||||
- {{ openwebui_install_dir }}/data:/app/backend/data
|
||||
|
||||
{% if openwebui_container_labels %}
|
||||
labels:
|
||||
{{ openwebui_container_labels|to_nice_yaml|indent(4) }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user