This is a fork of the abandoned Playbook
This fork aims using an external Nginx Proxy. All other paths like internal nginx-proxy should work, but aren't maintained well. You are free to help changing this and more ;)
If you are a beginner and just want use Nextcloud or want to use Traefik, I recommend the official successor MASH playbook!
This Ansible playbook can help you set your own Nextcloud server:
-
on your own Debian/CentOS/RedHat server
-
with all services (Nextcloud, PostgreSQL, Traefik, OnlyOffice, etc.) running in Docker containers
-
powered by the official Nextcloud container image
-
interoperates nicely with related Ansible playbooks or other services using Traefik for reverse-proxying
SSL certificates are automatically managed by a Traefik reverse-proxy.
Various components (Postgres, Traefik, etc.) can be disabled and replaced with your own other implementations (see configuring the playbook).
Using this playbook, you can get the following services configured on your server:
-
a Nextcloud server - storing your data
-
(optional) a PostgreSQL database for Nextcloud
-
(optional) free Let's Encrypt SSL certificate, which secures the connection to the Nextcloud server
-
(optional) OnlyOffice integration - for online document editing/previewing
-
(optional) Collabora Online integration - for online document editing/previewing
Basically, this playbook aims to get you up-and-running with all the basic necessities around Nextcloud.
To configure and install Nextcloud on your own server, follow the README in the docs/ directory.
This playbook evolves over time, sometimes with backward-incompatible changes.
When updating the playbook, refer to the changelog to catch up with what's new.
-
Matrix room: #nextcloud-docker-ansible:matrix.org
-
Github issues: JokerGermany/nextcloud-docker-ansible-deploy/issues
You may also be interested in these other playbooks:
- matrix-docker-ansible-deploy - for deploying a fully-featured Matrix homeserver