You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Urko. 2f02405ce7
feat: add README
3 weeks ago
config fix: add missing config 2 months ago
.env.example feat: add .env.example 3 weeks ago
.gitignore feat: use ocis 2 months ago
README.md feat: add README 3 weeks ago
backup.sh feat: add backup and restore scripts 3 weeks ago
deploy.sh fix: deploy script 2 months ago
docker-stack.yml feat: add restart policy 3 weeks ago
restore.sh feat: add backup and restore scripts 3 weeks ago

README.md

Owncloud Docker Stack Selfhost

Prequisites

1- You must have installed docker and docker swarm enabled first before starting this tutorial 2- You should have full acces to configure domain name DNS. You can rent one on namecheap 3- You must have a machine with some resources to handle multiple users and quit enough disk storage 4- You must have a static IPV4

Installation steps

Prepare docker-stack.yml

Just clone this repo or just copy docker-stack.yml file into the directory you want to place this. Example: /var/www/owncloud

Set up environment: .env

Then create a .env file or copy .env.example but rename to .env in the same directory you have placed docker-stack.yml

Now replace values: your domain name, strong passwords, etc...

Deploy

  • If you have clonned the repo just do next steps, otherwise you have to create your own deploy script or to copy the same as it is in this repo.
chmod +x ./deploy.sh

Then run deploy script

./deploy.sh

TODO

  • Replace .env file my .yml and docker config files