Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shimisnow/nextcloud-veracrypt
Automates the deployment of Nextcloud using Docker, with NGINX configured to support HTTP/3 and Google Brotli compression. and ensures data security by storing data within Veracrypt volumes
https://github.com/shimisnow/nextcloud-veracrypt
brotli docker docker-swarm http3 nextcloud veracrypt
Last synced: 14 days ago
JSON representation
Automates the deployment of Nextcloud using Docker, with NGINX configured to support HTTP/3 and Google Brotli compression. and ensures data security by storing data within Veracrypt volumes
- Host: GitHub
- URL: https://github.com/shimisnow/nextcloud-veracrypt
- Owner: shimisnow
- Created: 2024-06-30T16:06:28.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T13:17:08.000Z (about 2 months ago)
- Last Synced: 2024-12-27T14:27:21.232Z (about 2 months ago)
- Topics: brotli, docker, docker-swarm, http3, nextcloud, veracrypt
- Language: Shell
- Homepage:
- Size: 536 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
![](docs/images/nextcloud-veracrypt-header.png)
# Nextcloud with Veracrypt
This project automates the deployment of Nextcloud using Docker, with [NGINX](https://nginx.org/en/) as a reverse proxy configured to support [HTTP/3](https://en.wikipedia.org/wiki/HTTP/3) and [Google Brotli](https://github.com/google/brotli) compression. It ensures data security by storing all data within [Veracrypt](https://www.veracrypt.fr/en/Home.html) volumes.
The project uses two Veracrypt volumes as the Nextcloud needs to be mounted in a filesystem with restrictive permissions.
```mermaid
stateDiagram-v2
direction LRclassDef nextcloud_style fill:#0082c9
classDef veracrypt_style fill:#13c185state "Reverse Proxy" as reverse_proxy {
state "Nginx" as nginx
}
reverse_proxy:::nextcloud_style[*] --> reverse_proxy
state "Nextcloud" as nextcloud {
state "Application" as nextcloud_app
state "Cron" as nextcloud_cron
}
nextcloud:::nextcloud_stylenginx --> nextcloud
state "Services" as services {
state "Database" as database
state "Cache" as cache
state "Imaginary" as imaginary
}
services:::nextcloud_stylenextcloud --> services
state "Veracrypt" as veracrypt {
state "Data Volume" as veracrypt_data {
state "Nextcloud data" as veracrypt_nextcloud
}
state "Stack Volume" as veracrypt_stack {
state "Database data" as veracrypt_database
state "Nginx config" as veracrypt_nginx
state "PHP config" as veracrypt_php
state "SSL certificates" as veracrypt_certs
}
}
veracrypt:::veracrypt_stylenextcloud_app --> veracrypt_data
nextcloud_app --> veracrypt_stack
nextcloud_cron --> veracrypt_data
database --> veracrypt_stack
```## The WHY of the project
This project began with a simple need: I wanted to browse and organize my photos locally using folders. I needed the ability to securely store the files on an external drive with encryption, but I needed to access it across both Windows and Linux. Beyond storage, I also wanted features like a timeline view, map view, album organization, and automatic backup from my phone.
Veracrypt allowed me to create encrypted containers that could be mounted as virtual drives to browse and manage my files. This gave me the security of encryption without sacrificing the ease of access and flexibility I needed.
Nextcloud provide the same tools that cloud storage services offer, but in a self-hosted, private environment. It allowed me to seamlessly access, share, and sync my files across multiple devices, while also giving me the ability to create albums and manage my data just as I would on a typical cloud service.
## Docker images
This project uses:
- [Nginx](https://hub.docker.com/r/macbre/nginx-http3) with a custom compiled version to support HTTP/3 and Brotli
- [Nexcloud](https://hub.docker.com/_/nextcloud) with a custom extended version to include ffmpeg, zip, and others
- [MariaDB](https://hub.docker.com/_/mariadb) as database
- [Redis](https://hub.docker.com/_/redis) as cache
- [Imaginary](https://github.com/h2non/imaginary) to process images## Documentation
- [How to deploy](docs/how-to-deploy.md)