ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.43k stars 494 forks source link

Limiting access to docker container to/from internet #641

Closed ostasevych closed 1 year ago

ostasevych commented 1 year ago

Hi! I use OnlyOffice in a docker container as a service for Nextcloud. I would like to restrict access to the OnlyOffice docker container from and to Internet. Please, give your advice, how to arrange that without making troubles to its functioning (with the means of docker itself/iptables whatever). Thank you.

igwyd commented 1 year ago

Hello @ostasevych, with docker i see only using internal network option --internal=true, but there may be problems with opening documents. Using proxy servers and a firewall I think would be the right thing to do in local network. Unfortunately, we do not have guides on how to set up a network, because this is the task of network administrators, network settings depend on the specific requirements of users and can be very different. Our containers don't need constant internet access to work, so you can isolate as you wish.

Rita-Bubnova commented 1 year ago

We close this issue. Feel free to comment or reopen it if you got further questions.