Browse Source

0940: Run Group Office Collaboration Suite in Docker

i12bretro 9 months ago
parent
commit
7e0fcd2bcf
1 changed files with 92 additions and 0 deletions
  1. 92 0
      0940.html

+ 92 - 0
0940.html

@@ -0,0 +1,92 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Run Group Office Collaboration Suite in Docker</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <meta name="keywords" content="Docker Made Easy,Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Cloud Solution,Container,Containerization,Docker,Docker Container,Docker Host,Docker How To,Docker Installation Tutorial,Docker Made Simple,Docker Simplified,Linux,Ubuntu,Debian,Collaboration Suite,Group-Office,Group Office,Google Docs Alternative,How To,Tutorial,i12bretro">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Run Group Office Collaboration Suite in Docker">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="revised" content="09/04/2024 08:56:59 PM" />
+				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
+				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript" src="includes/js/steps.js"></script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Run Group Office Collaboration Suite in Docker</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is Group Office?</h2>
+
+<blockquote><em>Group-Office is an enterprise CRM and groupware tool. Collaborate, Share projects, calendars, files and e-mail online with co-workers and clients. Easy to use and fully customizable. -<a href="https://www.group-office.com/" target="_blank">https://www.group-office.com/</a></em></blockquote>
+
+<h2>Installing Docker</h2>
+
+<ol>
+	<li>Log into the Linux based device</li>
+	<li>Run the following commands in the terminal
+	<div class="codeBlock"># install prerequisites<br />
+	sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
+	# add docker gpg key<br />
+	curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
+	# add docker software repository<br />
+	sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
+	# install docker<br />
+	sudo apt install docker-ce docker-compose containerd.io -y<br />
+	# enable and start docker service<br />
+	sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
+	# add the current user to the docker group<br />
+	sudo usermod -aG docker $USER<br />
+	# reauthenticate for the new group membership to take effect<br />
+	su - $USER</div>
+	</li>
+</ol>
+
+<h2>Running Group Office</h2>
+
+<ol>
+	<li>Continue with the following commands in a terminal window
+	<div class="codeBlock"># create working directories<br />
+	mkdir ~/docker/group-office/{data,conf,share,tmp} -p &amp;&amp; mkdir ~/docker/mariadb -p<br />
+	# create a config.php file<br />
+	sudo touch ~/docker/group-office/conf/config.php<br />
+	# set ownership on the working directories<br />
+	sudo chown &quot;$USER&quot;:&quot;$USER&quot; ~/docker -R<br />
+	# allow the container to write to working directories<br />
+	sudo chmod a+rwx -R ~/docker/group-office<br />
+	# create containers network<br />
+	docker network create containers<br />
+	# run the mariadb docker container<br />
+	docker run -d --name mariadb --network containers -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=groupoffice_rw -e MYSQL_PASSWORD=Grou40ff1c3 -e MYSQL_DATABASE=group_office -v ~/docker/mariadb:/var/lib/mysql -p 3306:3306 --restart=unless-stopped mariadb:latest<br />
+	# run the group-office docker image<br />
+	docker run -d --name group-office --network containers -e MYSQL_USER=groupoffice_rw -e MYSQL_PASSWORD=Grou40ff1c3 -e MYSQL_DATABASE=group_office -e MYSQL_HOST=mariadb -p 9000:80 -v ~/docker/group-office/conf:/etc/groupoffice -v ~/docker/group-office/data:/var/lib/groupoffice -v ~/docker/group-office/tmp:/tmp/groupoffice --restart=unless-stopped intermesh/groupoffice</div>
+	</li>
+	<li>Open a web browser and navigate to http://DNSorIP:9000</li>
+	<li>Click Continue at the welcome screen</li>
+	<li>Click Continue at the system requirements check</li>
+	<li>Complete the database configuration using the values below
+	<p>Database user=groupoffice_rw<br />
+	Database password=Grou40ff1c3<br />
+	Database name=group_office<br />
+	Database hostname=mariadb<br />
+	Database port=3306</p>
+	</li>
+	<li>Click Continue</li>
+	<li>Create an administrator account by entering an Email, Username and password &gt; Select a Language &gt; Click Install</li>
+	<li>Once the installation completes, click Continue</li>
+	<li>Login using the username and password setup earlier</li>
+	<li>If prompted, enter and confirm a new password</li>
+	<li>Welcome to Group Office</li>
+</ol>
+
+<p>Documentation: <a href="https://github.com/Intermesh/docker-groupoffice/" target="_blank">https://github.com/Intermesh/docker-groupoffice/</a></p>          </div>
+        </div>
+      </body>
+    </html>
+