mastodon

mastodon

Application Docker from linuxserver's Repository

Vue d'ensemble

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..

Arguments d'exécution

Réseau
bridge
Coquille
bash
Privilégié
false

Configuration du modèle

WebUIPorttcp

Port for web frontend

Cible
80
Défaut
80
Port: 443Porttcp

Port for web frontend

Cible
443
Défaut
443
Port: 9394Porttcp

Port for Prometheus metrics

Cible
9394
Défaut
9394
AppdataPathrw

Contains all relevant configuration files.

Cible
/config
LOCAL_DOMAINVariable

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

Défaut
example.com
REDIS_HOSTVariable

Redis server hostname

Défaut
redis
REDIS_PORTVariable

Redis port

Défaut
6379
DB_HOSTVariable

Postgres database hostname

Défaut
db
DB_USERVariable

Postgres username

Défaut
mastodon
DB_NAMEVariable

Postgres db name

Défaut
mastodon
DB_PASSVariable

Postgres password

Défaut
mastodon
DB_PORTVariable

Postgres port

Défaut
5432
ES_ENABLEDVariable

Enable or disable Elasticsearch (requires a separate ES instance)

Défaut
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

Défaut
mail.example.com
SMTP_PORTVariable

SMTP server port

Défaut
25
SMTP_LOGINVariable

SMTP username

SMTP_PASSWORDVariable

SMTP password

SMTP_FROM_ADDRESSVariable

From address for emails send from Mastodon

Défaut
notifications@example.com
S3_ENABLEDVariable

Enable or disable S3 storage of uploaded files

Défaut
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)

Défaut
mastodon.example.com
ES_HOSTVariable

Elasticsearch server hostname

Défaut
es
ES_PORTVariable

Elasticsearch port

Défaut
9200
ES_USERVariable

Elasticsearch username

Défaut
elastic
ES_PASSVariable

Elasticsearch password

Défaut
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.

Défaut
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.

Défaut
false
SIDEKIQ_THREADSVariable

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

Défaut
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).

Défaut
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

Défaut
99
PGIDVariable

Container Variable: PGID

Défaut
100
UMASKVariable

Container Variable: UMASK

Défaut
022

Télécharger les statistiques

235,098
Total des téléchargements
14,749
Ce mois-ci
7,927
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
lscr.io/linuxserver/mastodon
Dernière mise à jour2026-05-28
Première vue2022-11-08

Exécutez Mastodon sur Unraid.

Mastodon est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.