Files
computer-playbook/roles/web-app-flowise/meta/services.yml

138 lines
4.2 KiB
YAML

---
# nocheck: seaweedfs-required
logout:
bond: 1
enabled: "{{ 'web-svc-logout' in group_names }}"
shared: "{{ 'web-svc-logout' in group_names }}"
dashboard:
bond: 1
enabled: "{{ 'web-app-dashboard' in group_names }}"
shared: "{{ 'web-app-dashboard' in group_names }}"
matomo:
bond: 1
enabled: "{{ 'web-app-matomo' in group_names }}"
shared: "{{ 'web-app-matomo' in group_names }}"
sso:
bond: 1
enabled: "{{ 'web-app-keycloak' in group_names }}"
shared: "{{ 'web-app-keycloak' in group_names }}"
flavor: oauth2
oauth2:
origin:
host: flowise
port: 3000
allowed_groups:
- "{{ lookup('rbac_group_path', application_id='web-app-flowise', role='administrator') }}"
- "{{ lookup('rbac_group_path', application_id='web-app-flowise', role='mcp') }}"
# nocheck: dynamic-flag — LDAP is disabled for this role; the literal false is intentional, not group-gated.
ldap:
enabled: false
shared: false
# nocheck: playwright-service-flag, dynamic-flag - shared gateway consumer; inference wiring is covered by the gateway role, and the gateway is a single shared instance
litellm:
bond: 1
enabled: "{{ LITELLM_USABLE }}"
shared: true
# nocheck: playwright-service-flag - DB engine, covered by role-local integration tests
qdrant:
bond: 1
enabled: "{{ 'svc-db-qdrant' in group_names }}"
shared: "{{ 'svc-db-qdrant' in group_names }}"
# nocheck: playwright-service-flag - DB engine, covered by role-local integration tests
postgres:
bond: 1
enabled: true # nocheck: dynamic-flag
shared: "{{ 'svc-db-postgres' in group_names }}"
# nocheck: playwright-service-flag: shared provider entity; the app itself is covered by this role's own Playwright spec
flowise:
mcp_consumer: true
healthcheck:
flavor: curl
modes:
compose:
enabled: true
swarm:
enabled: true
bond: 1
enabled: true # nocheck: dynamic-flag
shared: true
backup:
no_stop_required: false
image: node
# nocheck: docker-version
version: "24-slim"
npm_version: 3.1.4
update:
- key: npm_version
type: npm
package: flowise
- key: sqlite_version
type: npm
package: better-sqlite3
sqlite_version: 13.0.3
custom: true
name: flowise
# nocheck: min-storage-headroom Reason: the deployed image is built here from node:24-slim and measures 4.8 GB, so the base image transfer is not its footprint
min_storage: 6GB
cpus: "1.0"
mem_reservation: 1g
mem_limit: 2g
pids_limit: 1024
ports:
local:
http: 8056
sso: 16480
internal:
http: 3000
proxy:
service_key: flowise
run_after:
- web-app-keycloak
- web-app-matomo
- web-app-stalwart
- web-app-mailu
lifecycle: beta
# nocheck: dynamic-flag
# nocheck: playwright-service-flag — DB engine, covered by role-local integration tests
redis:
backup:
disabled: true
enabled: false
shared: "{{ 'svc-db-redis' in group_names }}"
# nocheck: playwright-service-flag — AI backend, infrastructural
ollama:
bond: 1
enabled: "{{ 'svc-ai-ollama' in group_names }}"
shared: "{{ 'svc-ai-ollama' in group_names }}"
# nocheck: playwright-service-flag — css consumer, no Playwright surface (provider: web-svc-css)
css:
bond: 1
enabled: "{{ 'web-svc-css' in group_names }}"
shared: "{{ 'web-svc-css' in group_names }}"
# nocheck: dynamic-flag
# nocheck: playwright-service-flag — canonical:cdn alias of static-asset provider
javascript:
enabled: false
shared: true
email:
bond: 1
enabled: "{{ MAIL_PROVIDER in group_names }}"
shared: "{{ MAIL_PROVIDER in group_names }}"
prometheus:
bond: 1
enabled: "{{ 'web-app-prometheus' in group_names }}"
shared: "{{ 'web-app-prometheus' in group_names }}"
# nocheck: playwright-service-flag
# nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in
tor:
bond: 0.5
enabled: "{{ 'svc-net-tor' in group_names }}"
shared: true # nocheck: dynamic-flag
# nocheck: dynamic-flag
# nocheck: playwright-service-flag, dynamic-flag infrastructure backup consumer
container_backup: # nocheck: bond-baseline backup host joins outside the variant topology
bond: 1
enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}"
shared: true