{"app":{"Date":"2026-07-05","Icon":"https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mastodon-logo.png","Name":"mastodon","Repo":"linuxserver's Repository","Shell":"bash","stars":119,"Branch":[{"Tag":"latest","TagDescription":"Stable releases."},{"Tag":"develop","GitHub":"https://github.com/linuxserver/docker-mastodon/tree/develop#application-setup","ReadMe":"https://github.com/linuxserver/docker-mastodon/tree/develop#readme","TagDescription":"Pre-releases *only*."},{"Tag":"glitch","GitHub":"https://github.com/linuxserver/docker-mastodon/tree/glitch#application-setup","ReadMe":"https://github.com/linuxserver/docker-mastodon/tree/glitch#readme","TagDescription":"glitch-soc(https://github.com/glitch-soc/mastodon) fork releases."}],"Config":[{"value":"","@attributes":{"Mask":"false","Mode":"tcp","Name":"WebUI","Type":"Port","Target":"80","Default":"80","Display":"always","Required":"true","Description":"Port for web frontend"}},{"value":"","@attributes":{"Mask":"false","Mode":"tcp","Name":"Port: 443","Type":"Port","Target":"443","Default":"443","Display":"always","Required":"true","Description":"Port for web frontend"}},{"value":"","@attributes":{"Mask":"false","Mode":"tcp","Name":"Port: 9394","Type":"Port","Target":"9394","Default":"9394","Display":"always","Required":"false","Description":"Port for Prometheus metrics"}},{"value":"","@attributes":{"Mask":"false","Mode":"rw","Name":"Appdata","Type":"Path","Target":"/config","Default":"","Display":"advanced","Required":"true","Description":"Contains all relevant configuration files."}},{"value":"","@attributes":{"Mask":"false","Name":"LOCAL_DOMAIN","Type":"Variable","Target":"LOCAL_DOMAIN","Default":"example.com","Display":"always","Required":"true","Description":"This is the unique identifier of your server in the network. It cannot be safely changed later."}},{"value":"","@attributes":{"Mask":"false","Name":"REDIS_HOST","Type":"Variable","Target":"REDIS_HOST","Default":"redis","Display":"always","Required":"true","Description":"Redis server hostname"}},{"value":"","@attributes":{"Mask":"false","Name":"REDIS_PORT","Type":"Variable","Target":"REDIS_PORT","Default":"6379","Display":"always","Required":"true","Description":"Redis port"}},{"value":"","@attributes":{"Mask":"false","Name":"DB_HOST","Type":"Variable","Target":"DB_HOST","Default":"db","Display":"always","Required":"true","Description":"Postgres database hostname"}},{"value":"","@attributes":{"Mask":"false","Name":"DB_USER","Type":"Variable","Target":"DB_USER","Default":"mastodon","Display":"always","Required":"true","Description":"Postgres username"}},{"value":"","@attributes":{"Mask":"false","Name":"DB_NAME","Type":"Variable","Target":"DB_NAME","Default":"mastodon","Display":"always","Required":"true","Description":"Postgres db name"}},{"value":"","@attributes":{"Mask":"true","Name":"DB_PASS","Type":"Variable","Target":"DB_PASS","Default":"mastodon","Display":"always","Required":"true","Description":"Postgres password"}},{"value":"","@attributes":{"Mask":"false","Name":"DB_PORT","Type":"Variable","Target":"DB_PORT","Default":"5432","Display":"always","Required":"true","Description":"Postgres port"}},{"value":"","@attributes":{"Mask":"false","Name":"ES_ENABLED","Type":"Variable","Target":"ES_ENABLED","Default":"false","Display":"always","Required":"true","Description":"Enable or disable Elasticsearch (requires a separate ES instance)"}},{"value":"","@attributes":{"Mask":"true","Name":"ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY","Default":"","Display":"always","Required":"true","Description":"Primary key for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files)."}},{"value":"","@attributes":{"Mask":"true","Name":"ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY","Default":"","Display":"always","Required":"true","Description":"Deterministic key for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files)."}},{"value":"","@attributes":{"Mask":"true","Name":"ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT","Default":"","Display":"always","Required":"true","Description":"Derivation salt for Active Record Encryption(https://github.com/mastodon/mastodon/pull/29831/files)."}},{"value":"","@attributes":{"Mask":"true","Name":"SECRET_KEY_BASE","Type":"Variable","Target":"SECRET_KEY_BASE","Default":"","Display":"always","Required":"true","Description":"Browser session secret. Changing it will break all active browser sessions."}},{"value":"","@attributes":{"Mask":"false","Name":"OTP_SECRET","Type":"Variable","Target":"OTP_SECRET","Default":"","Display":"always","Required":"true","Description":"MFA secret. Changing it after initial setup will break two-factor authentication."}},{"value":"","@attributes":{"Mask":"true","Name":"VAPID_PRIVATE_KEY","Type":"Variable","Target":"VAPID_PRIVATE_KEY","Default":"","Display":"always","Required":"true","Description":"Push notification private key. Changing it after initial setup will break push notifications."}},{"value":"","@attributes":{"Mask":"true","Name":"VAPID_PUBLIC_KEY","Type":"Variable","Target":"VAPID_PUBLIC_KEY","Default":"","Display":"always","Required":"true","Description":"Push notification public key. Changing it after initial setup will break push notifications."}},{"value":"","@attributes":{"Mask":"false","Name":"SMTP_SERVER","Type":"Variable","Target":"SMTP_SERVER","Default":"mail.example.com","Display":"always","Required":"true","Description":"SMTP server for email notifications"}},{"value":"","@attributes":{"Mask":"false","Name":"SMTP_PORT","Type":"Variable","Target":"SMTP_PORT","Default":"25","Display":"always","Required":"true","Description":"SMTP server port"}},{"value":"","@attributes":{"Mask":"false","Name":"SMTP_LOGIN","Type":"Variable","Target":"SMTP_LOGIN","Default":"","Display":"always","Required":"true","Description":"SMTP username"}},{"value":"","@attributes":{"Mask":"true","Name":"SMTP_PASSWORD","Type":"Variable","Target":"SMTP_PASSWORD","Default":"","Display":"always","Required":"true","Description":"SMTP password"}},{"value":"","@attributes":{"Mask":"false","Name":"SMTP_FROM_ADDRESS","Type":"Variable","Target":"SMTP_FROM_ADDRESS","Default":"notifications@example.com","Display":"always","Required":"true","Description":"From address for emails send from Mastodon"}},{"value":"","@attributes":{"Mask":"false","Name":"S3_ENABLED","Type":"Variable","Target":"S3_ENABLED","Default":"false","Display":"always","Required":"true","Description":"Enable or disable S3 storage of uploaded files"}},{"value":"","@attributes":{"Mask":"false","Name":"WEB_DOMAIN","Type":"Variable","Target":"WEB_DOMAIN","Default":"mastodon.example.com","Display":"always","Required":"false","Description":"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)"}},{"value":"","@attributes":{"Mask":"false","Name":"ES_HOST","Type":"Variable","Target":"ES_HOST","Default":"es","Display":"always","Required":"false","Description":"Elasticsearch server hostname"}},{"value":"","@attributes":{"Mask":"false","Name":"ES_PORT","Type":"Variable","Target":"ES_PORT","Default":"9200","Display":"always","Required":"false","Description":"Elasticsearch port"}},{"value":"","@attributes":{"Mask":"false","Name":"ES_USER","Type":"Variable","Target":"ES_USER","Default":"elastic","Display":"always","Required":"false","Description":"Elasticsearch username"}},{"value":"","@attributes":{"Mask":"true","Name":"ES_PASS","Type":"Variable","Target":"ES_PASS","Default":"elastic","Display":"always","Required":"false","Description":"Elasticsearch password"}},{"value":"","@attributes":{"Mask":"false","Name":"S3_BUCKET","Type":"Variable","Target":"S3_BUCKET","Default":"","Display":"always","Required":"false","Description":"S3 bucket hostname"}},{"value":"","@attributes":{"Mask":"true","Name":"AWS_ACCESS_KEY_ID","Type":"Variable","Target":"AWS_ACCESS_KEY_ID","Default":"","Display":"always","Required":"false","Description":"S3 bucket access key ID"}},{"value":"","@attributes":{"Mask":"true","Name":"AWS_SECRET_ACCESS_KEY","Type":"Variable","Target":"AWS_SECRET_ACCESS_KEY","Default":"","Display":"always","Required":"false","Description":"S3 bucket secret access key"}},{"value":"","@attributes":{"Mask":"false","Name":"S3_ALIAS_HOST","Type":"Variable","Target":"S3_ALIAS_HOST","Default":"","Display":"always","Required":"false","Description":"Alternate hostname for object fetching if you are front the S3 connections."}},{"value":"","@attributes":{"Mask":"false","Name":"SIDEKIQ_ONLY","Type":"Variable","Target":"SIDEKIQ_ONLY","Default":"false","Display":"always","Required":"false","Description":"Only run the sidekiq service in this container instance. For large scale instances that need better queue handling."}},{"value":"","@attributes":{"Mask":"false","Name":"SIDEKIQ_QUEUE","Type":"Variable","Target":"SIDEKIQ_QUEUE","Default":"","Display":"always","Required":"false","Description":"The name of the sidekiq queue to run in this container. See notes(https://docs.joinmastodon.org/admin/scaling/#sidekiq-queues)."}},{"value":"","@attributes":{"Mask":"false","Name":"SIDEKIQ_DEFAULT","Type":"Variable","Target":"SIDEKIQ_DEFAULT","Default":"false","Display":"always","Required":"false","Description":"Set to `true` on the main container if you're running additional sidekiq instances. It will run the `default` queue."}},{"value":"","@attributes":{"Mask":"false","Name":"SIDEKIQ_THREADS","Type":"Variable","Target":"SIDEKIQ_THREADS","Default":"5","Display":"always","Required":"false","Description":"The number of threads for sidekiq to use. See notes(https://docs.joinmastodon.org/admin/scaling/#sidekiq-threads)."}},{"value":"","@attributes":{"Mask":"false","Name":"DB_POOL","Type":"Variable","Target":"DB_POOL","Default":"5","Display":"always","Required":"false","Description":"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)."}},{"value":"","@attributes":{"Mask":"false","Name":"NO_CHOWN","Type":"Variable","Target":"NO_CHOWN","Default":"","Display":"always","Required":"false","Description":"Set to `true` to skip chown of /config on init. *READ THE APPLICATION NOTES BEFORE SETTING THIS*."}},{"value":"","@attributes":{"Mask":"false","Name":"MASTODON_PROMETHEUS_EXPORTER_ENABLED","Type":"Variable","Target":"MASTODON_PROMETHEUS_EXPORTER_ENABLED","Default":"","Display":"always","Required":"false","Description":"If set to `true`, Mastodon’s Ruby processes (web and Sidekiq) will enable the Prometheus instrumentation."}},{"value":"","@attributes":{"Mask":"false","Name":"PUID","Type":"Variable","Target":"PUID","Default":"99","Display":"advanced","Required":"true","Description":"Container Variable: PUID"}},{"value":"","@attributes":{"Mask":"false","Name":"PGID","Type":"Variable","Target":"PGID","Default":"100","Display":"advanced","Required":"true","Description":"Container Variable: PGID"}},{"value":"","@attributes":{"Mask":"false","Name":"UMASK","Type":"Variable","Target":"UMASK","Default":"022","Display":"advanced","Required":"false","Description":"Container Variable: UMASK"}}],"GitHub":"https://github.com/linuxserver/docker-mastodon#application-setup","ReadMe":"https://github.com/linuxserver/docker-mastodon#readme","trends":[3.215,6.274,4.403,4.449,4.864,2.937,4.041],"Network":"bridge","Project":"https://github.com/mastodon/mastodon/","Support":"https://github.com/linuxserver/docker-mastodon/issues/new/choose","Overview":"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..","Registry":"https://github.com/orgs/linuxserver/packages/container/package/mastodon","trending":4.041,"FirstSeen":1667905434,"downloads":290460,"LastUpdate":1792691620,"Privileged":"false","Repository":"lscr.io/linuxserver/mastodon","trendsDate":[1777619563,1780214631,1782823313,1785424025,1788036726,1790645917,1793428672],"TemplateURL":"https://raw.githubusercontent.com/linuxserver/templates/main/unraid/mastodon.xml","topTrending":0.8260000000000005,"CategoryList":["Network-Web","Tools-Utilities"],"TemplatePath":"/tmp/GitHub/AppFeed/unraid/mastodon.xml","downloadtrend":[220349,235098,245926,257378,270537,278722,290460],"topPerforming":4.041,"LastUpdateScan":1793428672,"ChangeLogPresent":"1","categories.lvl0":["Network","Tools"],"categories.lvl1":["Network > Web","Tools > Utilities"],"objectID":"app_e1c188021573a7ff","statsPath":"https://assets.ca.unraid.net/feed/repositories/lscr.io___linuxserver___mastodon","appType":"docker","InstallTemplateURL":"https://raw.githubusercontent.com/linuxserver/templates/main/unraid/mastodon.xml","beta":false,"deprecated":false,"recommended":false,"isOfficial":false,"overviewPreview":"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..","categoryPaths":["Network","Network > Web","Tools","Tools > Utilities"],"deepestCategories":["Network > Web","Tools > Utilities"],"deepestCategoryLevel":1,"updatedAt":1792691620,"canRenderGraphs":true,"trendsDateFormatted":["May 1","May 31","Jun 30","Jul 30","Aug 29","Sep 29","Oct 31"],"trendsAligned":[3.215,6.274,4.403,4.449,4.864,2.937,4.041],"downloadtrendAligned":[220349,235098,245926,257378,270537,278722,290460],"monthlyDownloads":[7085,14749,10828,11452,13159,8185,11738],"popularityScore":7.13,"isTrending":true,"chartData":{"canRender":true,"totalDownloadsChart":{"data":[220349,235098,245926,257378,270537,278722,290460],"labels":["May 1","May 31","Jun 30","Jul 30","Aug 29","Sep 29","Oct 31"]}}}}