Compare commits

..

6 Commits

Author SHA1 Message Date
decentral1se 7800001741
docs: new release notes 2023-02-08 23:26:58 +01:00
Moritz 212701adf2 docs: auto-updater
continuous-integration/drone/push Build is passing Details
2023-02-08 21:21:48 +01:00
Comrade Renovate Bot 62aea15ba1 chore(deps): update squidfunk/mkdocs-material docker tag to v9.0.11
continuous-integration/drone/push Build is failing Details
2023-02-06 08:08:25 +00:00
Comrade Renovate Bot 8912d94a83 chore(deps): update dependency mkdocs-material to v9.0.11
continuous-integration/drone/push Build is passing Details
2023-02-06 08:07:34 +00:00
Comrade Renovate Bot 3ede3b294b chore(deps): update squidfunk/mkdocs-material docker tag to v9.0.10
continuous-integration/drone/push Build is passing Details
2023-02-03 08:09:30 +00:00
Comrade Renovate Bot 16a94ff6ee chore(deps): update dependency mkdocs-material to v9.0.10
continuous-integration/drone/push Build is passing Details
2023-02-03 08:07:57 +00:00
4 changed files with 44 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM squidfunk/mkdocs-material:9.0.9
FROM squidfunk/mkdocs-material:9.0.11
EXPOSE 8000

View File

@ -22,6 +22,8 @@ abra upgrade --rc
> ...TODO: link to release notes for full commit logs...
- `kadabra`, the app auto-updater is available for general testing! ... TODO install & usage docs ...
- **ALERTA, ALERTA**, security related issue: all `$domain.env` env vars are now exposed to the deployment via the `app` service container. Each `FOO=BAR` is exported within the context of the container. If you have any privately committed secrets in your `.env` files, please migrate them to the `secrets: ...` configuration in the recipe. This change was made to facilitate tooling which can support auto-upgrading of apps in a deployment.
- `abra` can no longer install Docker, initialise swarm mode and the proxy network. It will check if a Docker install exists and is in swarm mode or not and error out accordingly. We leave the provisioning to tools that are designed for that and reduce the command-line surface that we have to maintain going forward.

View File

@ -252,6 +252,46 @@ abra app errors -w <nextcloud-domain> # error catcher
Your new `traefik` instance will detect that a new app is coming up and generate SSL certificates for it. You can see what `traefik` is up to using the same commands above but replacing `<netcloud-domain>` with the `<traefik-domain>` you chose earlier (`abra app ls` will remind you what domains you chose :grinning:).
### Upgrade Nextcloud
To upgrade an app manually to the newest available version run:
```bash
abra app upgrade <nextcloud-domain>
```
### Automatic Upgrades
`kadabra` the auto-updater is still under development, use it with care and don't use it in production environments.
To setup the auto-updater copy the `kadabra` binary to the server and configure a cronjob for regular app upgrades.
The following script will configure ssmtp for email notifications and setup a cronjob.
This cronjob checks daily for new app versions, notifies if any kind of update is available and upgrades all apps to the latest patch/minor version.
```bash
apt install ssmtp
cat > /etc/ssmtp/ssmtp.conf << EOF
mailhub=$MAIL_SERVER:587
hostname=$MAIL_DOMAIN
AuthUser=$USER
AuthPass=$PASSWORD
FromLineOverride=yes
UseSTARTTLS=yes
EOF
cat > /etc/cron.d/abra_updater << EOF
MAILTO=admin@example.com
MAILFROM=noreply@example.com
0 6 * * * root ~/kadabra notify --major
30 4 * * * root ~/kadabra upgrade --all
EOF
```
## Finishing up
Hopefully you got something running! Well done! The [operators handbook](/operators/handbook) would probably be the next place to go check out if you're looking for more help. Especially on topics of ongoing maintenance.

View File

@ -1,4 +1,4 @@
mkdocs-awesome-pages-plugin==2.8.0
mkdocs-material-extensions==1.1.1
mkdocs-material==9.0.9
mkdocs-material==9.0.11
mkdocs==1.4.2