version: '2' services: onlyoffice: hostname: onlyoffice image: "onlyoffice/documentserver" volumes: - "/docker/onlyoffice/log:/var/log/onlyoffice" - "/docker/onlyoffice/data:/var/www/onlyoffice/Data" - "/docker/onlyoffice/lib:/var/lib/onlyoffice" - "/docker/onlyoffice/db:/var/lib/postgresql" ports: - "8090:80"
使用 onlyoffice
docker exec onlyoffice sudo supervisorctl start ds:example docker exec onlyoffice sudo sed 's,autostart=false,autostart=true,' -i /etc/supervisor/conf.d/ds-example.conf
标签:compose,lib,OnlyOffice,sudo,conf,var,Docker,onlyoffice,docker From: https://www.cnblogs.com/raorao1994/p/16975296.html