mastodon/README.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

2021-05-07 11:34:21 +00:00
# Mastodon
2023-02-15 00:30:24 +00:00
> Your self-hosted, globally interconnected microblogging community
2021-05-07 11:34:21 +00:00
<!-- metadata -->
2021-11-21 19:23:35 +00:00
* **Category**: Apps
2023-02-15 00:30:24 +00:00
* **Status**: 1
2021-11-21 19:23:35 +00:00
* **Image**: [`tootsuite/mastodon`](https://hub.docker.com/r/tootsuite/mastodon)
2023-02-15 00:30:24 +00:00
* **Healthcheck**: No
* **Backups**: No
* **Email**: Yes
* **Tests**: No
* **SSO**: Yes
2021-05-07 11:34:21 +00:00
<!-- endmetadata -->
2023-02-15 00:30:24 +00:00
## Quick start
2021-05-07 11:34:21 +00:00
2023-02-15 00:30:24 +00:00
Mastodon expects secrets to be formatted in a very specific way, so please
choose "No" when prompted to generate secrets for `abra app new mastodon`. The
secrets must be generated outside of `abra` and that is achieved in step 2. See
the [`abra.sh`](./abra.sh) for more.
2021-05-28 10:54:02 +00:00
2023-02-15 00:30:24 +00:00
1. `abra app new mastodon`
1. `abra app cmd <domain> secrets --local`
1. `abra app config <domain>`
1. `abra app deploy <domain>`
2021-05-28 10:54:02 +00:00
2023-02-15 00:37:57 +00:00
Then, on your host (outside of the containers), you'll need to fix permissions
for the volume (see [#2](https://git.autonomic.zone/coop-cloud/hometown/issues/2)):
2021-05-28 10:54:02 +00:00
```
2023-02-15 00:37:57 +00:00
chown -R 991:991 /var/lib/docker/volumes/<domain>_app/_data
```
And finally, within the `app` container, create an admin account:
```
abra app cmd <domain> admin "<username>" "<email>"
2021-05-28 13:19:58 +00:00
```