services.ymlΒΆ

---
# nocheck: dynamic-flag - the gateway is a single shared instance, never deployed per consumer
litellm:
  bond: 0.5
  enabled: "{{ LITELLM_USABLE }}"
  shared: true
# nocheck: seaweedfs-required β€” object storage not implemented for this role
sso:
  bond: 1
  enabled: "{{ 'web-app-keycloak' in group_names }}"
  shared: "{{ 'web-app-keycloak' in group_names }}"
  flavor: oidc
logout:
  bond: 1
  enabled: "{{ 'web-svc-logout' in group_names }}"
  shared: "{{ 'web-svc-logout' in group_names }}"
# nocheck: dynamic-flag
ldap:
  enabled: false
  shared: false
  trylocal: true
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 }}"
email:
  bond: 1
  enabled: "{{ MAIL_PROVIDER in group_names }}"
  shared: "{{ MAIL_PROVIDER in group_names }}"
# nocheck: dynamic-flag
# nocheck: playwright-service-flag β€” Redis cache, no Playwright surface
redis:
  enabled: false
  shared: "{{ 'svc-db-redis' in group_names }}"
  backup:
    disabled: true
# nocheck: playwright-service-flag β€” DB engine, no Playwright surface (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
xwiki:
  healthcheck:
    flavor: curl
  modes:
    compose:
      enabled: true
    swarm:
      enabled: true
  bond: 1
  enabled: true # nocheck: dynamic-flag
  shared: true
  image: xwiki
  version: 18.9.0-postgres-tomcat
  custom: true
  name: xwiki
  min_storage: 965MB
  backup:
    no_stop_required: true
  cpus: 1.0
  mem_reservation: 1g
  mem_limit: 3g
  pids_limit: 1024
  # nocheck: single-replica xwiki. Embedded Solr holds an exclusive Lucene index lock, so a shared NFS index dir yields LockObtainFailedException, and the distribution-flavor install is not concurrency-safe (xwikidoc_pkey duplicate key); multi-instance needs remote Solr plus JGroups.
  replicas: 1
  ports:
    local:
      http: 8054
    internal:
      http: 8080
  run_after:
    - web-app-matomo
    - web-app-keycloak
    - web-app-stalwart
    - web-app-mailu
  lifecycle: beta
# 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 }}"
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