Changes

From SME Server
Jump to navigationJump to search
542 bytes added ,  03:35, 18 August 2020
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 ==
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu