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