Files
ansible-collection-docker-apps/roles/open-webui/templates/compose.yml.j2
T
2026-01-30 15:07:31 -05:00

18 lines
497 B
Django/Jinja

---
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 %}