Deploy Nextcloud on Docker using Ansible

Overview In this article we are going to go through the steps how to deploy Nextcloud on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Nextcloud on Docker with the Ansible playbook. In order to deploy nextcloud on docker using ansible successfully, there are some requirements first to configure(listed bellow in the prerequisites) Prerequisites Docker installed and running on the target host machine(Docker installation can also be automated with Ansible - link to the POST) SSH access enabled on the remote hosts with the login parameters preset in the Ansible hosts file Ansible installed on client machine(your machine) Installed Python and Python docker module for Ansible on target machine Installed Python on your local machine Install Python Docker module for Ansible Most Linux distros have Python3 preinstalled but for others the Python Docker module that Ansible uses may be missing. You’ll know that it’s if you get an error mentioning that the module is missing or not found. Picture example of the error bellow: ...

December 24, 2023 · 6 min · 1158 words · MarkoN

Setup Nextcloud with Redis using Docker

Setup Nextcloud with Redis using Docker Overview We’ll go through the steps how to Setup Nextcloud with Redis using Docker. For this process we’ll be using Docker compose and build a stack to deploy at once Nextcloud Docker container with MariaDB and Redis all together. Requirements to setup Nextcloud with Redis: Docker installed and running on the host server(Install Docker) Docker compose installed(Install Docker Compose) What’s Redis and why it’s recommended to deploy it with Nextcloud Redis is an open source object cache server that can be used as a database cache in order to improve database performance. By default Nextcloud doens’t have database cache(can be configured though) and without database cache, the Nextcloud performance can dwindle(be really slow in other words) but when Redis is added into the play, it can drastically improve Nextcloud performance. Redis also have an official Docker container, which we’ll be using in this docker compose file. ...

February 11, 2022 · 5 min · 876 words · MarkoN