fork 0k-charms
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.

40 lines
1.1 KiB

  1. # from: https://github.com/0k/Docker-DocumentServer (6.1.0)
  2. docker-image: docker.0k.io/oods:2.0.0
  3. data-resources:
  4. - /var/www/onlyoffice/Data
  5. - /var/log/onlyoffice
  6. ## not documented but found in entrypoint and docker inspect
  7. - /var/lib/onlyoffice
  8. - /var/lib/postgres
  9. - /var/lib/rabbitmq
  10. - /var/lib/redis
  11. - /usr/share/fonts/truetype/custom
  12. config-resources:
  13. - /etc/onlyoffice/documentserver
  14. uses:
  15. nextcloud-app:
  16. #constraint: required | recommended | optional
  17. #auto: pair | summon | none ## default: pair
  18. constraint: required
  19. auto: pair
  20. solves:
  21. interface: "UI server"
  22. ## XXXvlab: public access should NOT be necessary, but seem the only way to make
  23. ## it work: https://dev.onlyoffice.org/viewtopic.php?t=19272
  24. web-proxy:
  25. #constraint: required | recommended | optional
  26. #auto: pair | summon | none ## default: pair
  27. constraint: required
  28. auto: summon
  29. solves:
  30. proxy: "Public access"
  31. default-options:
  32. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80
  33. postgres-database:
  34. constraint: required
  35. auto: summon
  36. solves:
  37. database: "main storage"