You will install OpenCloud, a self-hosted file sync server, using Docker Compose with your own domain and an HTTPS certificate. It suits anyone comfortable with a Linux terminal who wants an alternative to Nextcloud. You need a server, Docker, a domain and a reverse proxy before you start.
YouTube video: will THIS make me leave NextCloud?
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (16)
- Video length
- 16 min 40 s
- Time to do it
- 45 minutes
- Difficulty
- Medium
- Steps
- 10
What you need
Steps
Check what you need first: Docker and Docker Compose on the server, a domain pointed at it, and a reverse proxy ready to issue certificates.
Clone the OpenCloud Compose repository with git clone, then change into the project folder.
Create the storage directories for config and user data on your local disk with mkdir, using the path you plan to keep long term.
Copy the example env file to.env and open it in a text editor so you can fill in your own values.
Choose your compose files. Use the base file plus only the optional ones for the features you want, such as search or document editing.
Set your domain, admin password and storage paths in the.env file, then save it.
Start the stack with docker compose up -d, then add a proxy host in your reverse proxy that points to the OpenCloud port and enable a certificate.
Add full text search by including its compose file and restarting the stack so the search service starts alongside OpenCloud.
Set up browser editing by adding either Collabora or Euro-Office as a compose service and connecting it in the OpenCloud settings.
Test the setup by uploading a DOCX file and opening it in the browser to confirm editing and saving work.
Tips and common mistakes
Keep your.env file out of version control because it holds the admin password and domain settings.
Back up the storage path on your local disk regularly. The containers are easy to rebuild, but your files are not.
Do not expose the OpenCloud container port straight to the internet. Route traffic through the reverse proxy with HTTPS instead.
Leave out optional compose files you do not need so you are not running and updating services you never use.
Questions
Do I need a separate database for OpenCloud?
No. OpenCloud continues ownCloud Infinite Scale and is written in Go, so there is no external database to maintain and no schema migrations to run.
Can I run OpenCloud without a domain?
You can reach it on the server IP and port, but document editing and full text search are easier to get working behind a real domain with a valid certificate.
Is OpenCloud a drop-in replacement for Nextcloud?
Not fully. It covers file sync and browser document editing, but Nextcloud has a much larger app catalogue, so check the features you depend on before switching.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


