ownCloud is an open-source file sharing platform that lets you store, sync, and share files from a self-hosted server, with desktop, mobile, and web clients across every major platform. This guide deploys ownCloud with a MariaDB backend and Redis cache using Docker Compose, with Traefik handling automatic HTTPS. By the end, you'll have ownCloud serving files securely at your domain.

Set Up the Directory Structure

1. Create the project directory structure:

$ mkdir -p ~/owncloud/{files,mysql,redis,letsencrypt}

$ cd ~/owncloud