Giter Site home page Giter Site logo

naveenprasanth / onlyoffice-experiments Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 28.77 MB

Roff 0.01% Dockerfile 0.01% Makefile 0.01% PowerShell 0.05% Shell 0.03% Python 97.15% CSS 0.57% JavaScript 0.78% HTML 0.79% XSLT 0.02% Batchfile 0.01% C 0.54% C++ 0.05%

onlyoffice-experiments's Introduction

onlyoffice-experiments backend

Before running the backend, make sure you set

export DOCUMENT_SERVER_PRIVATE_URL=http://localhost:80
export DOCUMENT_SERVER_PUBLIC_URL=http://localhost:80
export EXAMPLE_URL=http://host.docker.internal:8000

Use python manage.py runserver to run

onlyoffice-experiments frontend

	npm install --save @onlyoffice/document-editor-react
	npm install
	npm run start

Run the docker container for document server,

docker run -i -t -d -p 80:80 --restart=always -e JWT_ENABLED=false onlyoffice/documentserver

Locate default.json config in /etc/onlyoffice/documentserver inside the Docker container with Document Server first. To connect to the container use command docker exec -it [ID] bash where [ID] is the ID of Document Server container. To enlist all running containers use docker ps. Then in the default.json config locate this section:

		"request-filtering-agent" : {
			"allowPrivateIPAddress": false,
			"allowMetaIPAddress": false
		},

Change values false to true like that to allow these parameters:

		"request-filtering-agent" : {
			"allowPrivateIPAddress": true,
			"allowMetaIPAddress": true
		},

After the changes are done, use the command to rerun supervisorctl restart all

For reference, https://forum.onlyoffice.com/t/how-to-allow-private-ip-to-access-onlyoffice-documentserver/5755

onlyoffice-experiments's People

Contributors

naveenprasanth avatar

Watchers

 avatar

Forkers

lokesh824

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.