Line 5: |
Line 5: |
| == install == | | == install == |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
− | yum install smeserver-docker | + | yum install docker-ce docker-ce-cli containerd.io docker-compose --enablerepo=epel,extras |
− | </syntaxhighlight>then do where you must replace 192.168.80.117 by your SME LAN IP | + | systemctl start docker |
| + | systemctl enable docker |
| + | cd ~ |
| + | git clone --recursive https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud |
| + | cd docker-onlyoffice-nextcloud |
| + | docker-compose up -d |
| + | </syntaxhighlight>then do where you must replace 192.168.50.117 by your SME LAN IP |
| | | |
| <syntaxhighlight lang="bash"> | | <syntaxhighlight lang="bash"> |
| docker run -i -t -d --name onlyoffice -p 8080:80 \ | | docker run -i -t -d --name onlyoffice -p 8080:80 \ |
− | --dns=192.168.80.117 \ | + | --dns=192.168.50.117 \ |
| -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \ | | -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \ |
| -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ | | -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ |
Line 124: |
Line 130: |
| docker exec -it onlyoffice bash | | docker exec -it onlyoffice bash |
| </syntaxhighlight> | | </syntaxhighlight> |
| + | |
| + | == TODO == |
| + | we could add the certificate folder to the /app externally accessible folder, same thing for the configuration in /etc/onlyoffice/documentserver/local.json. Alternatively we could simply use the environement variable and the docker file to populate them. |
| + | |
| + | a smeserver-onlyoffice rpm. |
| | | |
| == sources == | | == sources == |