From 24d737d5b427d5dba683db6fbc4346970ecc6ecb Mon Sep 17 00:00:00 2001 From: Danil Titarenko <77471369+danilapog@users.noreply.github.com> Date: Fri, 11 Aug 2023 10:40:34 +0300 Subject: [PATCH] Add instructions for ipv6 connection. Related to bug #63537 (#654) * Update README.md - add the 'ONLYOFFICE Document Server ipv6 setup' section * Fix README.md formatting --------- Co-authored-by: svetlana maleeva --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index cfa9e46..3fea1c6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ + [Installation of the SSL Certificates](#installation-of-the-ssl-certificates) + [Available Configuration Parameters](#available-configuration-parameters) * [Installing ONLYOFFICE Document Server integrated with Community and Mail Servers](#installing-onlyoffice-document-server-integrated-with-community-and-mail-servers) +* [ONLYOFFICE Document Server ipv6 setup](#onlyoffice-document-server-ipv6-setup) * [Issues](#issues) - [Docker Issues](#docker-issues) - [Document Server usage Issues](#document-server-usage-issues) @@ -320,6 +321,30 @@ wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/ docker-compose up -d ``` +## ONLYOFFICE Document Server ipv6 setup + +(Works and is supported only for Linux hosts) + +Docker does not currently provide ipv6 addresses to containers by default. This function is experimental now. + +To set up interaction via ipv6, you need to enable support for this feature in your Docker. For this you need: +- create the `/etc/docker/daemon.json` file with the following content: + +``` +{ +"ipv6": true, +"fixed-cidr-v6": "2001:db8:abc1::/64" +} +``` +- restart docker with the following command: `systemctl restart docker` + +After that, all running containers receive an ipv6 address and have an inet6 interface. + +You can check your default bridge network and see the field there +`EnableIPv6=true`. A new ipv6 subnet will also be added. + +For more information, visit the official [Docker manual site](https://docs.docker.com/config/daemon/ipv6/) + ## Issues ### Docker Issues