2022-03-24 00:47:38 +00:00
|
|
|
# lemmy
|
|
|
|
|
2022-03-25 22:37:31 +00:00
|
|
|
> A federated link aggregator in Rust
|
2022-03-24 00:47:38 +00:00
|
|
|
|
|
|
|
<!-- metadata -->
|
|
|
|
|
|
|
|
* **Category**: Apps
|
2022-03-25 22:37:31 +00:00
|
|
|
* **Status**: 1, alpha
|
2022-03-25 20:40:42 +00:00
|
|
|
* **Image**: [`lemmy`](https://hub.docker.com/r/dessalines/lemmy) etc., 4, upstream
|
|
|
|
* **Healthcheck**: Yes
|
2022-03-24 00:47:38 +00:00
|
|
|
* **Backups**: No
|
|
|
|
* **Email**: No
|
2022-10-18 21:26:37 +00:00
|
|
|
* **Tests**: 2
|
2022-03-24 00:47:38 +00:00
|
|
|
* **SSO**: No
|
|
|
|
|
|
|
|
<!-- endmetadata -->
|
|
|
|
|
|
|
|
## Quick start
|
|
|
|
|
|
|
|
* `abra app new lemmy --secrets`
|
|
|
|
* `abra app config <app-name>`
|
|
|
|
* `abra app deploy <app-name>`
|
|
|
|
|
|
|
|
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
2022-03-25 20:40:42 +00:00
|
|
|
|
|
|
|
## Updating `config.hjson`
|
|
|
|
|
|
|
|
If you make changes in your environment after deployment, e.g. using
|
|
|
|
`abra app config <app-name>`, the new settings won't automatically be applied to
|
|
|
|
your `config.hjson`.
|
|
|
|
|
|
|
|
**If you haven't made manual changes to your `config.hjson`**, then delete the
|
|
|
|
auto-generated `config.hjson`, and let Lemmy auto-generate a new one:
|
|
|
|
|
|
|
|
```
|
|
|
|
abra app run <app-name> app rm /configconfig.hjson
|
|
|
|
abra app restart <app-name> app
|
|
|
|
```
|
|
|
|
|
|
|
|
**If you made manual changes to your `config.hjson`**, then compare the old and
|
|
|
|
the new files, and manually merge the changes:
|
|
|
|
|
|
|
|
```
|
|
|
|
abra app run <app-name> app sh
|
|
|
|
apt update && sudo apt install vim-tiny
|
|
|
|
diff -ur /config/config.hjson /config/config.hjson.tmpl
|
|
|
|
vim /config/config.hjson
|
|
|
|
exit
|
|
|
|
abra app restart <app-name> app
|
|
|
|
```
|