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
- 
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
- (curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -)
 
 - add the Docker repository to APT sources
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
 
 - 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
 
 
 - update existing list of packages
 - 
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
 
 
 - create directory & enter the directory
 - 
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