From 2147dbeae9cd0782a1bb1becf64cff7f18d34668 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Sun, 2 Nov 2025 22:06:07 +0000 Subject: [PATCH] Bot Updating Templated Files --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d30037d..4a79e4f 100644 --- a/README.md +++ b/README.md @@ -157,11 +157,13 @@ services: - SIDEKIQ_THREADS=5 #optional - DB_POOL=5 #optional - NO_CHOWN= #optional + - MASTODON_PROMETHEUS_EXPORTER_ENABLED= #optional volumes: - /path/to/mastodon/config:/config ports: - 80:80 - 443:443 + - 9394:9394 #optional restart: unless-stopped ``` @@ -210,8 +212,10 @@ docker run -d \ -e SIDEKIQ_THREADS=5 `#optional` \ -e DB_POOL=5 `#optional` \ -e NO_CHOWN= `#optional` \ + -e MASTODON_PROMETHEUS_EXPORTER_ENABLED= `#optional` \ -p 80:80 \ -p 443:443 \ + -p 9394:9394 `#optional` \ -v /path/to/mastodon/config:/config \ --restart unless-stopped \ lscr.io/linuxserver/mastodon:develop @@ -225,6 +229,7 @@ Containers are configured using parameters passed at runtime (such as those abov | :----: | --- | | `-p 80:80` | Port for web frontend | | `-p 443:443` | Port for web frontend | +| `-p 9394` | Port for Prometheus metrics | | `-e PUID=1000` | for UserID - see below for explanation | | `-e PGID=1000` | for GroupID - see below for explanation | | `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). | @@ -265,6 +270,7 @@ Containers are configured using parameters passed at runtime (such as those abov | `-e SIDEKIQ_THREADS=5` | The number of threads for sidekiq to use. See [notes](https://docs.joinmastodon.org/admin/scaling/#sidekiq-threads). | | `-e DB_POOL=5` | 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). | | `-e NO_CHOWN=` | Set to `true` to skip chown of /config on init. *READ THE APPLICATION NOTES BEFORE SETTING THIS*. | +| `-e MASTODON_PROMETHEUS_EXPORTER_ENABLED=` | If set to `true`, Mastodon’s Ruby processes (web & Sidekiq) will enable the Prometheus instrumentation. | | `-v /config` | Contains all relevant configuration files. | ## Environment variables from files (Docker secrets) @@ -429,6 +435,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **21.10.25:** - Add prometheus exporter support. * **20.10.25:** - Add vips-heif. * **06.06.25:** - Rebase to Alpine 3.22, replace deprecated imagemagick with vips. * **26.08.24:** - Rebase to Alpine 3.20, enable [Active Record Encryption](https://github.com/mastodon/mastodon/pull/29831/files). Existing users should update their nginx confs to avoid http2 deprecation warnings.