From cd4313eecf00a4853da3dadf5efa4469728a416f Mon Sep 17 00:00:00 2001 From: <> Date: Thu, 23 May 2024 10:52:12 +0000 Subject: [PATCH] Deployed f29d8d4a with MkDocs version: 1.6.0 --- images/docker-mastodon/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/docker-mastodon/index.html b/images/docker-mastodon/index.html index aedf72e228..2847513757 100644 --- a/images/docker-mastodon/index.html +++ b/images/docker-mastodon/index.html @@ -1,4 +1,4 @@ - mastodon - LinuxServer.io
Skip to content

linuxserver/mastodon

Scarf.io pulls GitHub Stars GitHub Release GitHub Package Repository GitLab Container Registry Quay.io Docker Pulls Docker Stars Jenkins Build

Mastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones..

mastodon

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/mastodon:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

Architecture Available Tag
x86-64 amd64-<version tag>
arm64 arm64v8-<version tag>
armhf

Version Tags

This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.

Tag Available Description
latest Stable releases.
develop Pre-releases only.
glitch glitch-soc fork releases.

Application Setup

We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:

  • To generate keys for SECRET_KEY_BASE & OTP_SECRET run docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-secret once for each.

  • To generate keys for VAPID_PRIVATE_KEY & VAPID_PUBLIC_KEY run docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid

Both of the secret generation aliases above can be run without any other setup having been carried out.

  • To use tootctl you can run something like docker exec -it lscr.io/linuxserver/mastodon /tootctl <command>

Using tootctl requires you to complete the initial Mastodon configuration first.

This container requires separate postgres and redis instances to run.

We support all of the official environment variables for configuration. In place of adding them all to your run/compose you can use an env file such as this example from the upstream project.

For more information check out the mastodon documentation.

Running separate sidekiq instances

It is currently only supported to run a single queue per container instance or all queues in a single container instance.

All containers must share the same /config mount and be on a common docker network.

NO_CHOWN Option

On larger Mastodon instances, our init process to verify that permissions are set correctly can noticeably slow down the container startup. If you are experiencing this, you can set NO_CHOWN to true to skip that step of the init.

Do NOT set this on first run of the container. If you enable this option you are taking full responsibility for ensuring that the permissions in your /config mount are correct. If you're even slightly unsure, don't set it.

Strict reverse proxies

This image automatically redirects to https with a self-signed certificate. If you are using a reverse proxy which validates certificates, you need to disable this check for the container.

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

---
+ mastodon - LinuxServer.io      

linuxserver/mastodon

Scarf.io pulls GitHub Stars GitHub Release GitHub Package Repository GitLab Container Registry Quay.io Docker Pulls Docker Stars Jenkins Build

Mastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones..

mastodon

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/mastodon:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

Architecture Available Tag
x86-64 amd64-<version tag>
arm64 arm64v8-<version tag>
armhf

Version Tags

This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.

Tag Available Description
latest Stable releases.
develop Pre-releases only.
glitch glitch-soc fork releases.

Application Setup

We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:

  • To generate keys for SECRET_KEY_BASE & OTP_SECRET run docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-secret once for each.

  • To generate keys for VAPID_PRIVATE_KEY & VAPID_PUBLIC_KEY run docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid

Both of the secret generation aliases above can be run without any other setup having been carried out.

  • To use tootctl you can run something like docker exec -it lscr.io/linuxserver/mastodon /tootctl <command>

Using tootctl requires you to complete the initial Mastodon configuration first.

This container requires separate postgres and redis instances to run.

We support all of the official environment variables for configuration. In place of adding them all to your run/compose you can use an env file such as this example from the upstream project.

For more information check out the mastodon documentation.

Running separate sidekiq instances

It is currently only supported to run a single queue per container instance or all queues in a single container instance.

All containers must share the same /config mount and be on a common docker network.

NO_CHOWN Option

On larger Mastodon instances, our init process to verify that permissions are set correctly can noticeably slow down the container startup. If you are experiencing this, you can set NO_CHOWN to true to skip that step of the init.

Do NOT set this on first run of the container. If you enable this option you are taking full responsibility for ensuring that the permissions in your /config mount are correct. If you're even slightly unsure, don't set it.

Strict reverse proxies

This image automatically redirects to https with a self-signed certificate. If you are using a reverse proxy which validates certificates, you need to disable this check for the container.

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

---
 services:
   mastodon:
     image: lscr.io/linuxserver/mastodon:latest
@@ -114,4 +114,4 @@
   --pull \
   -t lscr.io/linuxserver/mastodon:latest .
 

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

docker run --rm --privileged multiarch/qemu-user-static:register --reset
-

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 21.09.23: - Rebase to Alpine 3.18, migrate to s6v3.
  • 25.05.23: - Adjust apk flags.
  • 09.02.23: - Add Glitch branch.
  • 09.01.23: - Updated nginx conf to fix bring inline with Mastodon configuration (fixes Elk integration).
  • 19.12.22: - Support separate sidekiq queue instances.
  • 05.11.22: - Initial Release.
\ No newline at end of file +

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 21.09.23: - Rebase to Alpine 3.18, migrate to s6v3.
  • 25.05.23: - Adjust apk flags.
  • 09.02.23: - Add Glitch branch.
  • 09.01.23: - Updated nginx conf to fix bring inline with Mastodon configuration (fixes Elk integration).
  • 19.12.22: - Support separate sidekiq queue instances.
  • 05.11.22: - Initial Release.
\ No newline at end of file