hometown/README.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

2021-05-07 11:34:21 +00:00
# Mastodon
Your self-hosted, globally interconnected microblogging community
<!-- metadata -->
* **Category**:
* **Status**:
2021-05-08 20:55:44 +00:00
* **Image**: [`tootsuite/mastodon`](https://hub.docker.com/r/tootsuite/mastodon)
2021-05-07 11:34:21 +00:00
* **Healthcheck**:
* **Backups**:
* **Email**:
* **Tests**:
* **SSO**:
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
2021-05-08 20:55:44 +00:00
3. `abra app new mastodon`
2021-05-07 11:34:21 +00:00
4. `abra app YOURAPPDOMAIN config` - be sure to change `DOMAIN` to something that resolves to
2021-05-08 20:55:44 +00:00
your Docker swarm box. Install the npm package webpush to create VAPID keys `npm install web-push -g && web-push generate-vapid-keys`.
5. `abra app YOURAPPDOMAIN deploy --no-domain-poll`. App will fail for now.
6. `abra app mastodon run streaming rake db:setup`
7. Open the configured domain in your browser to finish set-up. To make an admin account `abra app mastodon run web "bin/tootctl accounts create coolusername --email helo@autonomic.zone --confirmed --role admin"`
2021-05-07 11:34:21 +00:00
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik