AppFeed/templates/JidovuMariusAdriansRepository/unraid-ca-repo/onlyoffice-community-server.xml
Squidly271 b3878cd225 Redo
2020-12-03 07:42:32 -05:00

151 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Container version="2">
<Name>onlyoffice-community-server</Name>
<Repository>xternet/unraid-onlyoffice-community-server</Repository>
<Registry>https://hub.docker.com/repository/docker/xternet/unraid-onlyoffice-community-server</Registry>
<Network>onlyoffice</Network>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/85643-support-amjidovu-onlyoffice-community-server/</Support>
<Project>https://www.onlyoffice.com/</Project>
<Overview>Before you start this container you need to create the onlyoffice network. &#13;
Open Unraid terminal and paste this command in there: &#13;
' sudo docker network create --driver bridge onlyoffice ' -- without ' '&#13;
HTTPS Support can be enable creating a "certs" folder in the data directory and placing onlyoffice.crt and onlyoffice.key in it&#13;
For more information visit the support thread &#13;
https://forums.unraid.net/topic/85643-support-amjidovu-onlyoffice-community-server/</Overview>
<WebUI>http://[IP]:[PORT:80]</WebUI>
<TemplateURL>https://raw.githubusercontent.com/AMJidovu/unraid-repository/master/unraid-ca-repo/onlyoffice-community-server.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/AMJidovu/unraid-repository/master/img/onlyoffice-ce-ds.jpg</Icon>
<PostArgs></PostArgs>
<CPUset></CPUset>
<DonateText>Donate me a coffee or a beer if you like my work :)</DonateText>
<DonateLink>https://www.paypal.me/xternet</DonateLink>
<Networking>
<Mode>onlyoffice</Mode>
<Publish>
<Port>
<HostPort>8080</HostPort>
<ContainerPort>80</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>4431</HostPort>
<ContainerPort>443</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>5222</HostPort>
<ContainerPort>5222</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/appdata/onlyoffice/CommunityServer/data</HostDir>
<ContainerDir>/var/www/onlyoffice/Data</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/onlyoffice/CommunityServer/logs</HostDir>
<ContainerDir>/var/log/onlyoffice</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>my-secret-pw</Value>
<Name>MYSQL_SERVER_ROOT_PASSWORD</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>onlyoffice</Value>
<Name>MYSQL_SERVER_DB_NAME</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>localhost</Value>
<Name>MYSQL_SERVER_HOST</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>onlyoffice_user</Value>
<Name>MYSQL_SERVER_USER</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>onlyoffice_pass</Value>
<Name>MYSQL_SERVER_PASS</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value></Value>
<Name>MAIL_SERVER_API_HOST</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>8081</Value>
<Name>MAIL_SERVER_API_PORT</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value></Value>
<Name>MAIL_SERVER_DB_HOST</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>onlyoffice_mailserver</Value>
<Name>MAIL_SERVER_DB_NAME</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>3306</Value>
<Name>MAIL_SERVER_DB_PORT</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>mail_admin</Value>
<Name>MAIL_SERVER_DB_USER</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>Isadmin123</Value>
<Name>MAIL_SERVER_DB_PASS</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value></Value>
<Name>DOCUMENT_SERVER_PORT_80_TCP_ADDR</Name>
<Mode></Mode>
</Variable>
</Environment>
<Config Name="HTTP Port" Target="80" Default="8080" Mode="tcp" Description="Container Port: 80" Type="Port" Display="always" Required="true" Mask="false">8080</Config>
<Config Name="HTTPS Port" Target="443" Default="4431" Mode="tcp" Description="Container Port: 443" Type="Port" Display="always" Required="true" Mask="false">4431</Config>
<Config Name="Port for XMPP-compatible instant messaging client (for ONLYOFFICE Talk correct work)" Target="5222" Default="5222" Mode="tcp" Description="Container Path: 5222" Type="Port" Display="always" Required="true" Mask="false">5222</Config>
<Config Name="Root Password for MySQL ( Default password is 'my-secret-pw' )" Target="MYSQL_SERVER_ROOT_PASSWORD" Default="my-secret-pw" Mode="" Description="Container Variable: MYSQL_SERVER_ROOT_PASSWORD" Type="Variable" Display="always" Required="false" Mask="true">my-secret-pw</Config>
<Config Name="Default Database Name" Target="MYSQL_SERVER_DB_NAME" Default="onlyoffice" Mode="" Description="Container Variable: MYSQL_SERVER_DB_NAME" Type="Variable" Display="always" Required="false" Mask="false">onlyoffice</Config>
<Config Name="MySQL Host - Read Description for Changes ----&amp;gt; " Target="MYSQL_SERVER_HOST" Default="localhost" Mode="" Description="Container Variable: MYSQL_SERVER_HOST &amp;lt;----&amp;gt; 'localhost' is used when we do not make use of the mail server docker or we do not want external database at all &amp;lt;----&amp;gt; for external local database use ' onlyoffice-mysql-server ' ( name of the docker that is hosting the mysql database, also without the ' ' ) as long is on the 'onlyoffice' network we created before starting the docker/s or you can use unraid IP you see in the up right corner, but it will be better to just use the name of the docker hosting mysql if your unraid IP is not static. &amp;lt;----&amp;gt; For database hosted on another server use the external IP ( internet IP )." Type="Variable" Display="always" Required="false" Mask="false">localhost</Config>
<Config Name="Default OnlyOffice Database Username" Target="MYSQL_SERVER_USER" Default="onlyoffice_user" Mode="" Description="Container Variable: MYSQL_SERVER_USER" Type="Variable" Display="always" Required="false" Mask="false">onlyoffice_user</Config>
<Config Name="Default OnlyOffice Database Password" Target="MYSQL_SERVER_PASS" Default="onlyoffice_pass" Mode="" Description="Container Variable: MYSQL_SERVER_PASS" Type="Variable" Display="always" Required="false" Mask="true">onlyoffice_pass</Config>
<Config Name="Community Server Data" Target="/var/www/onlyoffice/Data" Default="/mnt/user/appdata/onlyoffice/CommunityServer/data" Mode="rw" Description="Container Path: /var/www/onlyoffice/Data" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/onlyoffice/CommunityServer/data</Config>
<Config Name="Community Server Logs" Target="/var/log/onlyoffice" Default="/mnt/user/appdata/onlyoffice/CommunityServer/logs" Mode="rw" Description="Container Path: /var/log/onlyoffice" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/onlyoffice/CommunityServer/logs</Config>
<Config Name="Mail Server API Host - Read Description for Changes ----&amp;gt; " Target="MAIL_SERVER_API_HOST" Default="" Mode="" Description="Container Variable: MAIL_SERVER_API_HOST &#13;&#10;For external mysql server add the values bellow back to value and default value.&#13;&#10;Value: onlyoffice-mail-server&#13;&#10;Default Value: onlyoffice-mail-server &#13;&#10;If you installed them on another server add the IP instead.&#13;&#10;( For Mail Server Container with External Database )" Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="Mail Server API Port ( For Mail Server Container with External Database )" Target="MAIL_SERVER_API_PORT" Default="8081" Mode="" Description="Container Variable: MAIL_SERVER_API_PORT" Type="Variable" Display="always" Required="false" Mask="false">8081</Config>
<Config Name="Mail Server Database Host - Read Description for Changes ----&amp;gt; " Target="MAIL_SERVER_DB_HOST" Default="" Mode="" Description=" Container Variable: MAIL_SERVER_DB_HOST &#13;&#10;For external mysql server add the values bellow back to value and default value.&#13;&#10;Value: onlyoffice-mysql-server&#13;&#10;Default Value: onlyoffice-mysql-server&#13;&#10;If you installed them on another server add the IP instead.&#13;&#10;( For Mail Server Container with External Database )" Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="Mail Server Database Name ( For Mail Server Container with External Database )" Target="MAIL_SERVER_DB_NAME" Default="onlyoffice_mailserver" Mode="" Description="Container Variable: MAIL_SERVER_DB_NAME" Type="Variable" Display="always" Required="false" Mask="false">onlyoffice_mailserver</Config>
<Config Name="Mail Server External MySQL Port ( For Mail Server Container with External Database )" Target="MAIL_SERVER_DB_PORT" Default="3306" Mode="" Description="Container Variable: MAIL_SERVER_DB_PORT" Type="Variable" Display="always" Required="false" Mask="false">3306</Config>
<Config Name="Default Mail Server Database User ( For Mail Server Container with External Database )" Target="MAIL_SERVER_DB_USER" Default="mail_admin" Mode="" Description="Container Variable: MAIL_SERVER_DB_USER&#13;&#10;" Type="Variable" Display="always" Required="false" Mask="false">mail_admin</Config>
<Config Name="Default Mail Server Database Password ( For Mail Server Container with External Database )" Target="MAIL_SERVER_DB_PASS" Default="Isadmin123" Mode="" Description="Container Variable: MAIL_SERVER_DB_PASS" Type="Variable" Display="always" Required="false" Mask="true">Isadmin123</Config>
<Config Name="Onlyoffice Document Server - Read Description for Changes ----&amp;gt; " Target="DOCUMENT_SERVER_PORT_80_TCP_ADDR" Default="" Mode="" Description="Container Variable: DOCUMENT_SERVER_PORT_80_TCP_ADDR &#13;&#10;If you install onlyoffice-document-server container ( and you should, also start onlyoffice-document-server first ) add the values bellow back to value and default value. &#13;&#10;Value: onlyoffice-document-server&#13;&#10;Default Value: onlyoffice-document-server" Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Date>1575686176</Date>
<Category>Productivity: Tools:Utilities</Category>
<Description>Before you start this container you need to create the onlyoffice network. &#13;
Open Unraid terminal and paste this command in there: &#13;
' sudo docker network create --driver bridge onlyoffice ' -- without ' '&#13;
HTTPS Support can be enable creating a "certs" folder in the data directory and placing onlyoffice.crt and onlyoffice.key in it&#13;
For more information visit the support thread &#13;
https://forums.unraid.net/topic/85643-support-amjidovu-onlyoffice-community-server/</Description>
<templatePath>/tmp/GitHub/AppFeed/templates/JidovuMariusAdriansRepository/unraid-ca-repo/onlyoffice-community-server.xml</templatePath>
</Container>