Posts

Nextcloud setup

šŸš€ Self-Hosted Nextcloud with MariaDB Using Docker Compose In this guide, we’ll set up a fresh, clean Nextcloud instance on your server using Docker Compose. This includes MariaDB for your database, persistent data storage, and trusted domain setup — all the essentials for your personal cloud! šŸ—‚️ Step 1: Create a Working Directory mkdir -p ~/nextcloud-docker && cd ~/nextcloud-docker šŸ“ Step 2: Create the docker-compose.yml File Create and open the file: nano docker-compose.yml Paste this content: version: '3.8' services: db: image: mariadb:10.6 container_name: nextcloud_db restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: - db_data:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: yourStrongRootPassword MYSQL_PASSWORD: yourStrongDbPassword MYSQL_DATABASE: nextcloud MYSQL_USER: nextcloud app: image: nextcloud:latest container_name: nextcloud ports: …

About the author

Student, Photographer by Hobby, Blogger / Content Writer

Post a Comment