docker-image: docker.0k.io/oods:1.0.0
data-resources:
  - /var/www/onlyoffice/Data
  - /var/log/onlyoffice
config-resources:
  - /etc/onlyoffice/documentserver

uses:
  nextcloud-app:
    #constraint: required | recommended | optional
    #auto: pair | summon | none ## default: pair
    constraint: required
    auto: pair
    solves:
      interface: "UI server"

  ## XXXvlab: public access should NOT be necessary, but seem the only way to make
  ## it work: https://dev.onlyoffice.org/viewtopic.php?t=19272
  web-proxy:
    #constraint: required | recommended | optional
    #auto: pair | summon | none ## default: pair
    constraint: required
    auto: summon
    solves:
      proxy: "Public access"
    default-options:
      target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80