Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.04 KB

File metadata and controls

22 lines (19 loc) · 1.04 KB

linshare-editor-onlyoffice-dockerfile

Build

docker build -t linagora/linshare-editor-onlyoffice .

Run

Environment variables Description
BASE_URL The url of how browser editor and document server address the backend app, default: "http://editor-onlyoffice.linshare.local"
LINSHARE_API_BASE_URL The base url of LinShare backend API, default: "http://backend.linshare.local/linshare/webservice/rest"
MONGODB_CONNECTION The string for MongoDB connection, default: "mongodb://mongo.linshare.local/linshare-oo-editor"

Example:

docker run -it -p 8800:8081 --rm --name linshare-editor-onlyoffice \
  -e BASE_URL=http://172.17.0.1:8081 \
  -e LINSHARE_API_BASE_URL=http://172.17.0.1:28080/linshare/webservice/rest \
  -e MONGODB_CONNECTION=mongodb://172.17.0.1:27017/linshare-oo-editor \
  linagora/linshare-editor-onlyoffice