MagicHosting Logo
Back to blog

Magichosting

Set up Nextcloud with Docker Compose on Linux

E
Elias Bieber
Estimated reading time: 1 min

Private cloud via Docker: start MariaDB and Nextcloud containers with docker-compose, create admin account and plan passwords, HTTPS and backups for production.

NextcloudDockerCloudMariaDBLinux

Install Nextcloud with Docker

Requirement: Docker and Docker Compose. Create directory and docker-compose.yml (MariaDB + Nextcloud).

mkdir -p /opt/nextcloud && cd /opt/nextcloud
# docker-compose.yml with services: db (mariadb:10.6), app (nextcloud:latest), port 8080:80
docker-compose up -d

Browser: http://YOUR-IP:8080 – create admin account. Change passwords in docker-compose.yml; for production use HTTPS (reverse proxy) and backups.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and reliable operation from Frankfurt. We offer servers, domains and personal support – no hidden costs.

  • Current special sales with discounts on servers and packages
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues
Contact on WhatsApp