All Projects → christophetd → nextcloud-docker-compose

christophetd / nextcloud-docker-compose

Licence: other
☁️ Spin up a Nextcloud instance with automatied backups and SSL certificate issuance.

Projects that are alternatives of or similar to nextcloud-docker-compose

Calendar
📆 Calendar app for Nextcloud
Stars: ✭ 620 (+798.55%)
Mutual labels:  nextcloud, self-hosted
nextcloud docker
Docker setup to run Nextcloud
Stars: ✭ 35 (-49.28%)
Mutual labels:  nextcloud, self-hosted
Xsrv
[mirror] Install and manage self-hosted services/applications, on your own server(s) - ansible collection and utilities
Stars: ✭ 89 (+28.99%)
Mutual labels:  nextcloud, self-hosted
self-hosted-services
A core set of privacy-preserving services that can be easily self-hosted via Docker Compose.
Stars: ✭ 123 (+78.26%)
Mutual labels:  nextcloud, self-hosted
Hrcloud2
A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!
Stars: ✭ 134 (+94.2%)
Mutual labels:  nextcloud, self-hosted
SaorTech-cloud-services
A range of scripts to provision and configure open source cloud services.
Stars: ✭ 23 (-66.67%)
Mutual labels:  nextcloud, self-hosted
dashboardcharts
Dashboard Charts for Nextcloud
Stars: ✭ 23 (-66.67%)
Mutual labels:  nextcloud
nextcloud-link
Javascript/Typescript client that communicates with Nextcloud's WebDAV and OCS APIs
Stars: ✭ 43 (-37.68%)
Mutual labels:  nextcloud
ezbookkeeping
A lightweight personal bookkeeping app hosted by yourself.
Stars: ✭ 42 (-39.13%)
Mutual labels:  self-hosted
tapedrive
[WIP] The selfhosted Podcast Archive
Stars: ✭ 28 (-59.42%)
Mutual labels:  self-hosted
teslamateapi
TeslaMateApi is a RESTful API to get data collected by self-hosted data logger TeslaMate in JSON
Stars: ✭ 47 (-31.88%)
Mutual labels:  self-hosted
avonc
Aszlig's Very Opinionated Nextcloud Configuration
Stars: ✭ 15 (-78.26%)
Mutual labels:  nextcloud
traefik-docker-ansible
🐳 🐹  This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.
Stars: ✭ 75 (+8.7%)
Mutual labels:  self-hosted
dashy
🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Stars: ✭ 7,103 (+10194.2%)
Mutual labels:  self-hosted
audioplayer editor
Audio Player ID3 editor add-on for the Audio Player in Nextcloud & ownCloud
Stars: ✭ 24 (-65.22%)
Mutual labels:  nextcloud
mqtt-panel
Self hosted Web App panel for MQTT
Stars: ✭ 29 (-57.97%)
Mutual labels:  self-hosted
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (-46.38%)
Mutual labels:  nextcloud
nettu-meet
Open source video conferencing system for tutors.
Stars: ✭ 1,878 (+2621.74%)
Mutual labels:  self-hosted
Collect
A server to collect & archive websites that also supports video downloads
Stars: ✭ 62 (-10.14%)
Mutual labels:  self-hosted
jmal-cloud-view
JmalCloud 是一款私有云存储网盘项目,能够简单安全管理您的云端文件
Stars: ✭ 148 (+114.49%)
Mutual labels:  self-hosted

Nextcloud with Docker compose

This repository contains a Docker compose file which can be used to easily create a Nextcloud instance.

Architecture

Here are the various containers involved.

  • nextcloud: the actual Nextcloud server
  • mysql: the database used by Nextcloud to store its configuration
  • reverse-proxy: a nginx reverse proxy in front of Nextcloud and doing SSL termination
  • letsencrypt-companion: an utility container which issues and renews SSL certificates
  • backups: an utility container which regularly backups the Nextcloud files and database

Usage

Follow the steps below. If you don't want any backups, just remove the backups: section in docker-compose.yml, jump to step 2, and ignore the instructions related to Backblaze B2.

Step 1: Create a Backblaze account and bucket

  • Sign up for a Backblaze account at https://www.backblaze.com/b2/sign-up.html.

  • Write down your Backblaze account ID and secret key (TODO) for later

  • Create a B2 bucket (e.g. christophetd-nextcloud-backups) and write down its name for later

Step 2: Point your subdomain to the appropriate machine

  • If you don't have any, spin up a VPS on any cloud provider (AWS EC2, Digital Ocean, OVH...). If you use the following referral link, you'll benefit from $10 of free credit on Digital Ocean (and I will get $25): https://m.do.co/c/1504134cd374.

  • Point your subdomain (e.g. nextcloud.christophetd.fr) to this newly created VPS

Step 3: Configuration

Edit the .env file, and change at least the following:

  • HOST: the hostname of your VPS (e.g. nextcloud.christophetd.fr)
  • B2_BUCKET: the name of the B2 bucket you created in step 1
  • B2_ID and B2_KEY: your B2 credentials from step 1
  • BACKUP_ENCRYPTION_KEY: set it to a random passphrase. It will be used to encrypt your backups before shipping them to Backblaze.

Step 4: Profit!

Run:

$ docker-compose up -d

You'll need to wait a few minutes on first launch, as there is some certificate generation involved. Then, you should be able to access your Nextcloud instance!

You can now define your administrator credentials and use Nextcloud.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].