Ansible deployment for draussen.social
Go to file
Dominik George 159c7f5be5
Add some basic helpful notes to README
2022-11-01 17:56:23 +01:00
group_vars/mastodon Add missing docker network to mynetworks 2022-11-01 14:00:24 +01:00
roles/mastodon_docker Fix ownership of Mastodon direcotires 2022-10-31 15:17:44 +01:00
LICENSE Initial commit 2022-10-30 18:31:37 +01:00
README.md Add some basic helpful notes to README 2022-11-01 17:56:23 +01:00
hosts.yml Configure mailing 2022-11-01 13:59:56 +01:00
mastodon.yml Restructure main playbook 2022-10-31 12:19:26 +01:00
requirements.yml Configure mailing 2022-11-01 13:59:56 +01:00
site.yml Configure mailing 2022-11-01 13:59:56 +01:00

README.md

Ansible playbook for draussen.social

draussen.social is a collection of Fediverse instances targeted at outddor and nature enthusiasts in german-speaking areas.

This playbook is used to deploy the whole platform. With some modifications, it can be re-used for deploying a similar platform.

Currently, the following services are deployed:

  • Mastodon

Architecture

This playbook assumes the following architecture:

  • Central database server (PostgreSQL) for all services
  • Separate host for each service
  • External e-mail gateway

The hosts shall have public IPv4 and IPv6 addresses, and an internal network to interconnect them. This architecture is currently tailored to virtual hosts in Hetzner cloud.

Prerequisites

To make the playbook work, it assumes you have already installed hosts based on Debian 11, and the hosts have working DNS. Under one ase domain, the following hostnames are currently assumed:

  • db.DOMAIN.TLD for the database host
  • mastodon.DOMAIN.TLD for Mastodon
    • Alias m.DOMAIN.TLD for Mastodon's public domain

The hosts shall be accessible by the root user using SSH, and not have anything but a default Debian installation installed.