Add build status & tidy README

[ci skip]
This commit is contained in:
3wc 2020-09-28 01:21:14 +02:00
parent 107bb89bd6
commit 76ea9a1408

View File

@ -1,25 +1,27 @@
Nextcloud
---
[![Build Status](https://drone.autonomic.zone/api/badges/compose-stacks/nextcloud/status.svg)](https://drone.autonomic.zone/compose-stacks/nextcloud)
Fully automated luxury Nextcloud via docker-swarm.
Based on the official [`nextcloud` image][nextcloud-docker].
1. Set up Docker Swarm and [`abra`][abra]
2. Deploy [`compose-stacks/traefik`][compose-traefik]
1. Set up Docker Swarm and [`abra`]
2. Deploy [`compose-stacks/traefik`]
3. `cp .envrc.sample .envrc`
4. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `direnv allow` (or `. .envrc`)
6. Generate secrets:
```
abra secret_generate db_password v1
abra secret_generate db_root_password v1
abra secret_generate admin_password
abra secret generate db_password v1
abra secret generate db_root_password v1
abra secret generate admin_password
```
7. `abra deploy`
[nextcloud-docker]: https://hub.docker.com/_/nextcloud/
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
[compose-traefik]: https://git.autonomic.zone/compose-stacks/traefik
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`compose-stacks/traefik`]: https://git.autonomic.zone/compose-stacks/traefik