• Run communityserver container, and get onlyoffice.conf from it:
    1
    2
    3
    4
    docker run -name communityserver -i -t -d onlyoffice/communityserver`
    # wait 1-2 minutes.
    sudo docker exec -i -t communityserver /bin/bash -c 'cat /etc/nginx/sites-enabled/onlyoffice' > onlyoffice.conf`
    sudo docker rm -fv communityserver