Follow new exciting README standard
continuous-integration/drone/push Build is passing Details

See coop-cloud/organising#31
This commit is contained in:
3wc 2021-03-02 18:38:37 +02:00
parent 0a934bc4fb
commit 91e0178b6a
1 changed files with 19 additions and 11 deletions

View File

@ -4,19 +4,27 @@
Matomo analytics + CoöpCloud
<!-- metadata -->
* **Category**: Apps
* **Status**: ❸🍎
* **Image**: [`matomo`](https://hub.docker.com/_/matomo), ❶💚, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Tests**: ❷💛
* **SSO**: No
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`][abra]
2. Deploy [`compose-stacks/traefik`][compose-traefik]
2. `cp .envrc.sample .envrc`
3. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
2. Deploy [`coop-cloud/traefik`][cc-traefik]
3. `abra app new matomo --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
4. `direnv allow` (or `. .envrc`)
5. Generate secrets:
```
abra secret_generate db_password v1
abra secret_generate db_root_password v1
```
6. `abra deploy`
7. Open the configured domain to finish set-up
5. `abra app YOURAPPDOMAIN deploy`
6. Open the configured domain to finish set-up
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
[compose-traefik]: https://git.autonomic.zone/compose-stacks/traefik