mastodon

mastodon

Docker-Anwendung from linuxserver's Repository

Übersicht

Mastodon(https://github.com/mastodon/mastodon/) is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones..

Laufzeit-Argumente

Netzwerk
bridge
Shell
bash
Privilegiert
false

Konfiguration der Vorlage

WebUIPorttcp

Port for web frontend

Ziel
80
Standard
80
Port: 443Porttcp

Port for web frontend

Ziel
443
Standard
443
Port: 9394Porttcp

Port for Prometheus metrics

Ziel
9394
Standard
9394
AppdataPathrw

Contains all relevant configuration files.

Ziel
/config
LOCAL_DOMAINVariable

This is the unique identifier of your server in the network. It cannot be safely changed later.

Standard
example.com
REDIS_HOSTVariable

Redis server hostname

Standard
redis
REDIS_PORTVariable

Redis port

Standard
6379
DB_HOSTVariable

Postgres database hostname

Standard
db
DB_USERVariable

Postgres username

Standard
mastodon
DB_NAMEVariable

Postgres db name

Standard
mastodon
DB_PASSVariable

Postgres password

Standard
mastodon
DB_PORTVariable

Postgres port

Standard
5432
ES_ENABLEDVariable

Enable or disable Elasticsearch (requires a separate ES instance)

Standard
false
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEYVariable

Primary key for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files).

ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEYVariable

Deterministic key for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files).

ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALTVariable

Derivation salt for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files).

SECRET_KEY_BASEVariable

Browser session secret. Changing it will break all active browser sessions.

OTP_SECRETVariable

MFA secret. Changing it after initial setup will break two-factor authentication.

VAPID_PRIVATE_KEYVariable

Push notification private key. Changing it after initial setup will break push notifications.

VAPID_PUBLIC_KEYVariable

Push notification public key. Changing it after initial setup will break push notifications.

SMTP_SERVERVariable

SMTP server for email notifications

Standard
mail.example.com
SMTP_PORTVariable

SMTP server port

Standard
25
SMTP_LOGINVariable

SMTP username

SMTP_PASSWORDVariable

SMTP password

SMTP_FROM_ADDRESSVariable

From address for emails send from Mastodon

Standard
notifications@example.com
S3_ENABLEDVariable

Enable or disable S3 storage of uploaded files

Standard
false
WEB_DOMAINVariable

This can be set if you want your server identifier to be different to the subdomain hosting Mastodon. See https://docs.joinmastodon.org/admin/config/#basic(https://docs.joinmastodon.org/admin/config/#basic)

Standard
mastodon.example.com
ES_HOSTVariable

Elasticsearch server hostname

Standard
es
ES_PORTVariable

Elasticsearch port

Standard
9200
ES_USERVariable

Elasticsearch username

Standard
elastic
ES_PASSVariable

Elasticsearch password

Standard
elastic
S3_BUCKETVariable

S3 bucket hostname

AWS_ACCESS_KEY_IDVariable

S3 bucket access key ID

AWS_SECRET_ACCESS_KEYVariable

S3 bucket secret access key

S3_ALIAS_HOSTVariable

Alternate hostname for object fetching if you are front the S3 connections.

SIDEKIQ_ONLYVariable

Only run the sidekiq service in this container instance. For large scale instances that need better queue handling.

Standard
false
SIDEKIQ_QUEUEVariable

The name of the sidekiq queue to run in this container. See notes(https://docs.joinmastodon.org/admin/scaling/#sidekiq-queues).

SIDEKIQ_DEFAULTVariable

Set to `true` on the main container if you're running additional sidekiq instances. It will run the `default` queue.

Standard
false
SIDEKIQ_THREADSVariable

The number of threads for sidekiq to use. See notes(https://docs.joinmastodon.org/admin/scaling/#sidekiq-threads).

Standard
5
DB_POOLVariable

The size of the DB connection pool, must be *at least* the same as `SIDEKIQ_THREADS`. See notes(https://docs.joinmastodon.org/admin/scaling/#sidekiq-threads).

Standard
5
NO_CHOWNVariable

Set to `true` to skip chown of /config on init. *READ THE APPLICATION NOTES BEFORE SETTING THIS*.

MASTODON_PROMETHEUS_EXPORTER_ENABLEDVariable

If set to `true`, Mastodon’s Ruby processes (web and Sidekiq) will enable the Prometheus instrumentation.

PUIDVariable

Container Variable: PUID

Standard
99
PGIDVariable

Container Variable: PGID

Standard
100
UMASKVariable

Container Variable: UMASK

Standard
022

Statistik herunterladen

235,098
Downloads insgesamt
14,749
Dieser Monat
7,927
Durchschnittlich / Monat

Gesamte Downloads im Laufe der Zeit

Tabelle laden...

Einzelheiten

Repository
lscr.io/linuxserver/mastodon
Zuletzt aktualisiert2026-05-28
Erstmals gesehen2022-11-08

Führen Sie Mastodon auf Unraid aus.

Mastodon ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.