Skip to content

abielawa/mastodon-on-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mastodon-on-kubernetes

Collection of code to run Mastodon server on Kubernetes with Flux CD & Terraform.

See the whole configuration with instructions in the article on SoftwareMill's blog.

Prerequisites

Structure

The structure is based on Flux monorepo approach:

  • apps/base/mastodon - contains Mastodon Helm release with configuration
  • modules/mastodon - re-usable Terraform module for the Google Storage Bucket with HMAC keys and Service Account

Mastodon server configuration

The apps/base/mastodon directory contains manifests for deploying Mastodon server. Provide the neccessary configuration for the Helm Chart in the values.yaml file.

Terraform module

To use Terraform module in your root module call the child module mastodon and provide the bucket_name:

module "mastodon" {
  source      = "../modules/mastodon"
  bucket_name = "mastodon-production"
}

In the source argument specify the path to a local directory containing the Mastodon module's configuration files.

About

Run Mastodon server on Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages