𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬

𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬

By
Download on the App Store

𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬 episodes

  • How to install nextcloud using docker compose

    In this tutorial, I show you how to install Nextcloud as a Docker container using Docker Compose. Nextcloud is a self-hosted alternative to Google Drive, Dropbox, and other cloud storage services - you own your data, you control access, and there are no monthly subscription fees.

    I'm using Ubuntu/Pop!_OS for this tutorial, but these steps will work on any Linux system running Docker.

    This is a beginner-friendly tutorial - if you have basic command line knowledge and Docker already installed, you can follow along.

    ⏰ TIMESTAMPS

    0:00 - Intro
    0:33 - Prerequisites & what you'll need
    1:26 - Checking for available ports
    2:55 - Creating the project directory
    3:19 - Creating the port-mapping text file
    4:28 - Setting up the .env file
    6:49 - Creating the docker-compose.yml
    10:07 - Starting the containers
    10:28 - First login & initial setup
    11:51 - What's next

    📋 PREREQUISITES

    ✅ Docker installed
    ✅ Docker Compose installed
    ✅ Basic command line knowledge
    ✅ About 15-20 minutes

    💻 MY SETUP

    • OS: Pop!_OS (Ubuntu-based)
    • Hardware: Old Dell Precision Tower 5810
    • Background: Former network engineer, now hobbyist self-hoster
    • 📁 FILES & COMMANDS

      Create project directory:
      mkdir -p /your/desired/folder/docker/nextcloud # I started using /opt/docker/
      cd /your/desired/folder/docker/nextcloud

      Check if port is in use:

      ss -tulpn | grep ":8080"

      If port 8080 isn't being used, then leave the docker-compose.yml file port setting as-is skip "Check port range for availability." If port 8080 is already used by another app, continue below.

      Check port range for availability:

      for port in {5322..5342}; do
      if ss -tuln | grep -q ":$port "; then
      echo "🔴 Port $port: IN USE"
      else
      echo "🟢 Port $port: Free"
      fi
      done

      Track your port mappings (optional):

      cd /your/desired/folder/docker # CHANGE THIS
      sudo nano port_mappings.txt
      Add entries like:
      Port App
      5322 Nextcloud
      5323 [Next app]

      Create .env file:

      cd /your/desired/folder/docker/nextcloud # CHANGE THIS
      nano .env
      Contents:

      CHANGE THESE

      MYSQL_ROOT_PASSWORD=your_secure_password

      MYSQL_PASSWORD=your_secure_password

      DON'T CHANGE THESE

      MYSQL_DATABASE=nextcloud

      MYSQL_USER=nextcloud

      CHANGE THESE

      NEXTCLOUD_ADMIN_USER=your_preferred_username

      NEXTCLOUD_ADMIN_PASSWORD=your_admin_password

      Then hit the CTL+X buttons to save it, Y to keep the file name the same, and Enter to finally complete the save.

      Download the files directly

      • Grab the docker-compose.yml here: https://codeberg.org/semico6/seths_public_repo/src/branch/main/docker-compose/nextcloud/docker-compose.yml
      • Grab the .env here: https://codeberg.org/semico6/seths_public_repo/src/branch/main/docker-compose/nextcloud/.env
      • Assuming you saved the file to ~/Downloads, run this command:

        mv ~/Downloads/docker-compose.yml /your/desired/folder/docker/nextcloud/ && mv ~/Downloads/.env /your/desired/folder/docker/nextcloud/

        Next, open the docker-compose.yml file and edit the sections with comments:

        cd /your/desired/folder/docker/nextcloud/
        sudo nano /your/desired/folder/docker/nextcloud/docker-compose.yml

        Then hit the CTL+X buttons to save it, Y to keep the file name the same, and Enter to finally complete the save.

        Start Nextcloud:

        From a terminal, change to the nextcloud directory:
        cd /your/desired/folder/docker/nextcloud

        Then type this command:

        docker compose up -d

        Hopefully you'll see the container status as 'Started' in the command output. If not, leave a comment and I'll try to help.

        To access Nextcloud:

        Open a browser and navigate to: http://localhost:8080 (unless you used a different port. if so, use that port number).

        Login with the credentials from your .env file's NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD and start playing around with Nextcloud!

        🔗 USEFUL LINKS

        • Nextcloud documentation: https://docs.nextcloud.com
        • Docker installation guide: https://docs.docker.com/engine/install/
        • Docker Compose installation guide: https://docs.docker.com/compose/install/linux/
        • 📝 NOTES

          • Change the passwords in the .env file to something secure
          • Port 8080 is customizable - use any available port
          • The .env file keeps sensitive passwords out of your compose file
          • All data is stored in the local ./data and ./db directories
          • 🎯 WHAT'S NEXT

            In future videos, I'll show you:

            • Adding OnlyOffice for document editing
            • Setting up remote access with a domain name
            • Backing up your Nextcloud data
            • Advanced features and apps
            • 💬 QUESTIONS?

              Drop them in the comments - I read and respond to all of them.

              📺 ABOUT THIS CHANNEL

              I'm not a professional sysadmin or developer - I used to be a network engineer, but these days I'm just a hobbyist figuring out self-hosting for my home setup. I share tutorials on digital sovereignty, self-hosting, physical media ownership, and taking control from big tech. If you're interested in owning your digital life instead of renting it, subscribe for more.

              #nextcloud #selfhosted #docker #dockercompose #privacy #digitalownership

              0 min
            • Ducky rest stop

              We have a group of lady mallards currently summering on our lake that likes to rest on our beach at the end of the day, then goes hide in the bushes in the forest to nest during the night. I knew roughly what time they like to come in the afternoon, so I waited for them and captured their rest stop with our lake camera.

              0 min
            • Le délit que la France a abandonné

              Olivier Schneider, militant cycliste français, président de la Fédération française des usagers de la bicyclette (et pas byciclette au temps pour moi.) de 2015 à 2024, est invité chez le Greenletter club pour parler de vélo, et dans cet extrait, plus spécifiquement du vol de vélo. C'est un sujet qui me parait important car c'est pour moi, le premier sujet d'inquiétude à l'utilisation de mon vélo. Il donne des chiffres que je trouve incroyable, quasiment 600 000 vols de vélo par an ? Quand on connait l'importance qu'a le vélo dans la transition écologique, il est difficile d'entendre qu'il ne se passe rien pour empêcher ça.

              Réduire la qualité de la vidéo.

              Soutenir la chaîne GreenLetter Club https://fr.tipeee.com/greenletter-club

              Découvrir le travail de la FUB https://www.fub.fr/

              Pour changer le système :

              Réclamer le RIC constituant : https://www.mouvement-constituant-populaire.fr/
              Changer de banque: https://www.lanef.com/ https://change-de-banque.org/particulier/
              Passer à l'action militante: https://extinctionrebellion.fr/ https://ripostealimentaire.fr/
              Changer de travail : https://jobs.makesense.org/fr

              Source

              Schneider GLC https://www.youtube.com/watch?v=E0sOlxuyTqk
              Reportage Biclou - vol de vélo https://www.youtube.com/watch?v=rnuz2WIQU5I
              Musique https://www.youtube.com/watch?v=39PVEaSytpo

              Réponses au quiz de fin :

              /!\ Description à ne pas lire avant d'avoir vu la vidéo entièrement

              /!\

              /!\

              /!\

              /!\

              Quelles sont les 5 mesures à prendre contre le vol ?

              Sensibiliser les gens à l'utilisation des antivols
              Faire de la pédagogie sur comment les utiliser.
              Sécuriser le parc de vélo en identifiant votre vélo sur la FNUCI.
              Assécher le marché pour les voleurs
              Démanteler les filières d'exportations illégales.

              Qu'est-ce que le FNUCI ?

              Fichier national unique des cycles identifiés.
              Opérateur appose un numéro unique sur le vélo, cela permet de l'identifier et de le déclarer comme volé.

              Combien y a-t-il de vols de vélo en France par an ?

              Entre 350 et 580 000 vols par an.

              #schneider #écologie #vélo #police #vol #transition #extrait #interview #ethiqueettac

              0 min

            About 𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬

            From the publisher's feed

            Who, What, How?The Outernational Music Syndicate.Established in 2010 as a pro-active reaction to everything that is broken in the music-industry. Basspistol is an endlessly evolving union for the…