owncloud: Docker Project - adaley0518/Tech_Journal GitHub Wiki

What you will need for owncloud:

  • Ubuntu 18.04 environment with docker(docker01-amber)
  • Windows 10 workstation (mgmt01-amber)

Configuration for owncloud with Docker

  1. Installing Docker & Docker-Compose (if not completed)

    • update existing list of packages
      • sudo apt update
    • install packages
      • sudo apt install apt-transport-https ca-certificates curl software-properties-common
    • add GPG key for official Docker repository
    • add the Docker repository to APT sources
    • update package databases
      • sudo apt update
    • install the Docker repo
      • apt-cache policy docker-ce
    • install Docker
      • sudo apt install docker-ce
    • check docker is running
      • sudo systemctl status docker (should be active)
    • install docker-compose
      • apt install docker-compose
  2. owncloud Web Server Configuration

    • create directory & enter the directory
      • mkdir owncloud && cd owncloud
    • make file for configuration
      • vi docker-compose.yml
    • copy and paste the configuration in the file from the docker cite
      • CLICK HERE
      • go to the docker-compose file section to get the information to input into the file
      • then save and exit
    • add port 8080 to firewall and reload
      • ufw allow 8080
      • ufw allow reload
    • create webserver
      • docker-compose up -d --force-recreate (will only work if the file for the configuration is docker-compose.yml)
    • check webserver is up
      • docker-compose ps or docker ps
  3. Access the Web Interface

    • go to http://docker01-amber:8080 (or your domain or IP)
    • should see owncloud and asked to make an admin account
    • sign in with admin account
    • Congrats, you should be in owncloud!
    • Video Demo