infrastructure/roles/mastodon
2023-10-14 00:23:38 +02:00
..
defaults Merge remote-tracking branch 'origin/renovate/mastodon-elasticsearch-7.x' 2023-10-14 00:23:38 +02:00
handlers Use FQCN in all tasks 2022-08-13 17:50:54 +02:00
meta ansible-lint: Fix various new issues 2022-11-02 21:57:13 +01:00
tasks lint: be happy 2023-02-26 00:21:05 +01:00
templates mastodon: Switch to GH container registry 2023-08-10 12:23:34 +02:00
README.md Initial commit 2020-08-10 01:37:13 +02:00

Mastodon

This will setup a Mastodon instance using their official docker container and traefik as a reverse proxy.

Note: This role will also care about migrations etc, when upgrading to a new version!

Requirements

You will need to have docker, docker-compose and traefik installed or declared as dependencies with their respective roles.

This role assumes that you have setup traefik with an endpoint called websecure.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Global variables, that are used:

  • proxy_network: Defined by the local traefik installation, this is the shared proxy network used by traefik to reach the containers. (optional)
  • proxy_hiddenservice: Defined by the local traefik installation, this is used to generate the alt-svc header for the alternative Tor domain. (optional)

Dependencies

  • docker
  • docker-compose
  • traefik

License

GPL-3.0-only