You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
898 B

  1. # from: https://hub.docker.com/r/collabora/code/tags - https://github.com/CollaboraOnline/online/tree/master/docker
  2. docker-image: collabora/code
  3. #data-resources:
  4. # - /var/www/onlyoffice/Data
  5. #config-resources:
  6. # - /etc/onlyoffice/documentserver
  7. uses:
  8. ## XXXvlab: public access should NOT be necessary, but seem the only way to make
  9. ## it work: https://dev.onlyoffice.org/viewtopic.php?t=19272
  10. web-proxy:
  11. #constraint: required | recommended | optional
  12. #auto: pair | summon | none ## default: pair
  13. constraint: required
  14. auto: summon
  15. solves:
  16. proxy: "Public access"
  17. default-options:
  18. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:9980
  19. apache-core-rules: !var-expand |
  20. ProxyPassMatch "/cool/(.*)/ws$" wss://${MASTER_BASE_SERVICE_NAME}:9980/cool/$1/ws nocanon
  21. ProxyPass /cool/adminws wss://${MASTER_BASE_SERVICE_NAME}:9980/cool/adminws