mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 10:48:10 +02:00
- Added _normalize_codes to support lists of valid HTTP status codes - Updated web_health_expectations to handle multiple codes, deduplication, and fallback logic - Extended unit tests with coverage for list/default combinations, invalid values, and alias behavior - Fixed Flowise CSP flags and whitelist entries - Adjusted Flowise, MinIO, and Pretix docker service resource limits - Updated docker-compose templates with explicit service_name - Corrected MinIO status_codes to 301 redirects ✅ All CSP errors fixed See details: https://chatgpt.com/share/68d557ad-fc10-800f-b68b-0411d20ea6eb
50 lines
1.7 KiB
Django/Jinja
50 lines
1.7 KiB
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
litellm:
|
|
{% set service_name = 'litellm' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
image: {{ FLOWISE_LITELLM_IMAGE }}:{{ FLOWISE_LITELLM_VERSION }}
|
|
container_name: {{ FLOWISE_LITELLM_CONTAINER }}
|
|
expose:
|
|
- {{ FLOWISE_LITELLM_PORT }}
|
|
volumes:
|
|
- {{ FLOWISE_LITELLM_CONFIG_PATH_HOST }}:{{ FLOWISE_LITELLM_CONFIG_PATH_DOCKER }}:ro
|
|
command: >
|
|
--host 0.0.0.0
|
|
--port {{ FLOWISE_LITELLM_PORT }}
|
|
--config {{ FLOWISE_LITELLM_CONFIG_PATH_DOCKER }}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
qdrant:
|
|
{% set service_name = 'qdrant' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
image: {{ FLOWISE_QDRANT_IMAGE }}:{{ FLOWISE_QDRANT_VERSION }}
|
|
container_name: {{ FLOWISE_QDRANT_CONTAINER }}
|
|
ports:
|
|
- {{ FLOWISE_QDRANT_HTTP_PORT }}
|
|
- {{ FLOWISE_QDRANT_GRPC_PORT }}
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
flowise:
|
|
{% set service_name = 'flowise' %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
image: {{ FLOWISE_IMAGE }}:{{ FLOWISE_VERSION }}
|
|
container_name: {{ FLOWISE_CONTAINER }}
|
|
depends_on:
|
|
- qdrant
|
|
- litellm
|
|
ports:
|
|
- "127.0.0.1:{{ FLOWISE_PORT_PUBLIC }}:{{ FLOWISE_PORT_INTERNAL }}"
|
|
volumes:
|
|
- flowise_data:/root/.flowise
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
qdrant_data:
|
|
name: {{ FLOWISE_QDRANT_VOLUME }}
|
|
flowise_data:
|
|
name: {{ FLOWISE_VOLUME }}
|