feat: add README

This commit is contained in:
Urko. 2024-02-03 20:43:37 +01:00
parent d26e1c37a7
commit 2f02405ce7
1 changed files with 39 additions and 0 deletions

39
README.md Normal file
View File

@ -0,0 +1,39 @@
# Owncloud Docker Stack Selfhost
## Prequisites
1- You must have installed [docker](https://docs.docker.com/engine/install/) 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](https://www.namecheap.com/)
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.
```bash
chmod +x ./deploy.sh
```
Then run deploy script
```bash
./deploy.sh
```
## TODO
- Replace .env file my .yml and docker config files