fix Bug 58578 - Fix docker-compose on Debian 11 and Ubuntu 22.04 (#189)
This commit is contained in:
parent
f96fe4e111
commit
bec2c1f9bb
|
@ -449,7 +449,7 @@ wget https://download.onlyoffice.com/install/workspace-install.sh
|
||||||
workspace-install.sh -md yourdomain.com
|
workspace-install.sh -md yourdomain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Or use [docker-compose](https://docs.docker.com/compose/install "docker-compose"). `Temporarily does not work on Ubuntu 22.04 and Debian 11.`
|
Or use [docker-compose](https://docs.docker.com/compose/install "docker-compose").
|
||||||
|
|
||||||
First you need to clone this [GitHub repository](https://github.com/ONLYOFFICE/Docker-CommunityServer/):
|
First you need to clone this [GitHub repository](https://github.com/ONLYOFFICE/Docker-CommunityServer/):
|
||||||
|
|
||||||
|
@ -469,6 +469,8 @@ For the mail server correct work, open one of the files depending on the product
|
||||||
* [docker-compose.yml](https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/docker-compose.workspace.yml) for ONLYOFFICE Workspace Community Edition
|
* [docker-compose.yml](https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/docker-compose.workspace.yml) for ONLYOFFICE Workspace Community Edition
|
||||||
* [docker-compose.yml](https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/docker-compose.workspace_enterprise.yml) for ONLYOFFICE Workspace Enterprise Edition
|
* [docker-compose.yml](https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/docker-compose.workspace_enterprise.yml) for ONLYOFFICE Workspace Enterprise Edition
|
||||||
|
|
||||||
|
For working on `Ubuntu 22.04` and `Debian 11` or later, you need to use docker-compose versions v2.16.0 or later and uncomment the cgroup line in the yml file
|
||||||
|
|
||||||
Then replace the `${MAIL_SERVER_HOSTNAME}` variable with your own hostname for the **Mail Server**. After that, assuming you have docker-compose installed, execute the following command:
|
Then replace the `${MAIL_SERVER_HOSTNAME}` variable with your own hostname for the **Mail Server**. After that, assuming you have docker-compose installed, execute the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -41,6 +41,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
|
# cgroup: host
|
||||||
volumes:
|
volumes:
|
||||||
- community_data:/var/www/onlyoffice/Data
|
- community_data:/var/www/onlyoffice/Data
|
||||||
- community_log:/var/log/onlyoffice
|
- community_log:/var/log/onlyoffice
|
||||||
|
|
|
@ -54,6 +54,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
|
# cgroup: host
|
||||||
volumes:
|
volumes:
|
||||||
- community_data:/var/www/onlyoffice/Data
|
- community_data:/var/www/onlyoffice/Data
|
||||||
- community_log:/var/log/onlyoffice
|
- community_log:/var/log/onlyoffice
|
||||||
|
|
|
@ -54,6 +54,7 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
|
# cgroup: host
|
||||||
volumes:
|
volumes:
|
||||||
- community_data:/var/www/onlyoffice/Data
|
- community_data:/var/www/onlyoffice/Data
|
||||||
- community_log:/var/log/onlyoffice
|
- community_log:/var/log/onlyoffice
|
||||||
|
|
Loading…
Reference in New Issue