Go to file
Urko. 2f02405ce7 feat: add README 2024-02-03 20:43:37 +01:00
config fix: add missing config 2023-12-25 12:03:59 +01:00
.env.example feat: add .env.example 2024-02-03 20:31:56 +01:00
.gitignore feat: use ocis 2023-12-25 09:19:15 +01:00
README.md feat: add README 2024-02-03 20:43:37 +01:00
backup.sh feat: add backup and restore scripts 2024-02-03 20:30:37 +01:00
deploy.sh fix: deploy script 2023-12-25 11:49:20 +01:00
docker-stack.yml feat: add restart policy 2024-02-03 20:33:30 +01:00
restore.sh feat: add backup and restore scripts 2024-02-03 20:30:37 +01:00

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