{ "schema_version": "0.3.0", "kind": "proxmenux.oci-template", "id": "linuxserver-mastodon", "status": "generated-unvalidated", "catalog_ui": { "title": { "en_US": "Mastodon" }, "tagline": { "en_US": "Mastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones.." }, "description": { "en_US": "Mastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones.." }, "category": "communication", "category_label": "Communication & Community", "author": "LinuxServer.io", "developer": null, "icon": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mastodon-icon.png", "thumbnail": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mastodon-banner.png", "screenshots": [], "architectures": [ "amd64", "arm64" ], "launch": { "scheme": "http", "port": 80, "path": "/" }, "website": "https://github.com/mastodon/mastodon/", "documentation": "https://docs.linuxserver.io/images/docker-mastodon/", "repository": "https://github.com/linuxserver/docker-mastodon", "tips": [], "mini_changelog": [ { "date": "2026-07-05", "note": "Rebase to Alpine 3.24." }, { "date": "2025-10-21", "note": "Add prometheus exporter support." }, { "date": "2025-10-20", "note": "Add vips-heif." }, { "date": "2025-07-08", "note": "Rebase to Alpine 3.22." }, { "date": "2025-06-06", "note": "Rebase to Alpine 3.21, replace deprecated imagemagick with vips." } ], "display_version": null, "updated_at": "2026-07-05" }, "source": { "provider": "linuxserver.io", "repository": "https://github.com/linuxserver/docker-mastodon", "default_branch": "main", "revision": "04011d5a66e8bc029223439e09b3f4a84e906d01", "readme_raw_url": "https://raw.githubusercontent.com/linuxserver/docker-mastodon/04011d5a66e8bc029223439e09b3f4a84e906d01/README.md", "readme_pushed_at": "2026-09-10T15:01:58Z", "compose_sha256": "a51333798189b884423a5fd2f56af4ac75468247b783c07defb06bf7bedbb71c", "generated_at": "2026-09-12T14:37:31+00:00" }, "container_contract": { "service_name": "mastodon", "container_name": "mastodon", "image": { "reference": "lscr.io/linuxserver/mastodon:latest", "registry": "lscr.io", "repository": "lscr.io/linuxserver/mastodon", "tag": "latest", "digest": null, "pull_policy": "resolve-selected-tag-to-architecture-digest-at-install" }, "environment": [ { "name": "PUID", "example": "1000", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "PGID", "example": "1000", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "TZ", "example": "Etc/UTC", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "LOCAL_DOMAIN", "example": "example.com", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "REDIS_HOST", "example": "redis", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "REDIS_PORT", "example": "6379", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "DB_HOST", "example": "db", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "DB_USER", "example": "mastodon", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "DB_NAME", "example": "mastodon", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "DB_PASS", "example": "mastodon", "required": true, "sensitive": true, "source": "linuxserver-compose" }, { "name": "DB_PORT", "example": "5432", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ES_ENABLED", "example": "false", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY", "example": "", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY", "example": "", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT", "example": "", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SECRET_KEY_BASE", "example": "", "required": true, "sensitive": true, "source": "linuxserver-compose" }, { "name": "OTP_SECRET", "example": "", "required": true, "sensitive": true, "source": "linuxserver-compose" }, { "name": "VAPID_PRIVATE_KEY", "example": "", "required": true, "sensitive": true, "source": "linuxserver-compose" }, { "name": "VAPID_PUBLIC_KEY", "example": "", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SMTP_SERVER", "example": "mail.example.com", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SMTP_PORT", "example": "25", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SMTP_LOGIN", "example": "", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SMTP_PASSWORD", "example": "", "required": true, "sensitive": true, "source": "linuxserver-compose" }, { "name": "SMTP_FROM_ADDRESS", "example": "notifications@example.com", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "S3_ENABLED", "example": "false", "required": true, "sensitive": false, "source": "linuxserver-compose" }, { "name": "WEB_DOMAIN", "example": "mastodon.example.com", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ES_HOST", "example": "es", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ES_PORT", "example": "9200", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ES_USER", "example": "elastic", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "ES_PASS", "example": "elastic", "required": false, "sensitive": true, "source": "linuxserver-compose" }, { "name": "S3_BUCKET", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "AWS_ACCESS_KEY_ID", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "AWS_SECRET_ACCESS_KEY", "example": "", "required": false, "sensitive": true, "source": "linuxserver-compose" }, { "name": "S3_ALIAS_HOST", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SIDEKIQ_ONLY", "example": "false", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SIDEKIQ_QUEUE", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SIDEKIQ_DEFAULT", "example": "false", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "SIDEKIQ_THREADS", "example": "5", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "DB_POOL", "example": "5", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "NO_CHOWN", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" }, { "name": "MASTODON_PROMETHEUS_EXPORTER_ENABLED", "example": "", "required": false, "sensitive": false, "source": "linuxserver-compose" } ], "volumes": [ { "id": "volume-0", "container_path": "/config", "compose_source_example": "/path/to/mastodon/config", "read_only": false, "required": true, "installation_choice": [ "managed-volume", "host-bind" ], "default": "managed-volume", "managed_volume": { "backup": true, "default_size_gb": 4 } } ], "ports": [ { "container_port": 80, "published_example": 80, "protocol": "tcp", "required": true, "proxmox_behavior": "listener-on-dedicated-lxc-address-no-nat" }, { "container_port": 443, "published_example": 443, "protocol": "tcp", "required": true, "proxmox_behavior": "listener-on-dedicated-lxc-address-no-nat" }, { "container_port": 9394, "published_example": 9394, "protocol": "tcp", "required": false, "proxmox_behavior": "listener-on-dedicated-lxc-address-no-nat" } ], "related_services": [], "restart": "unless-stopped", "stop_grace_period": null, "original_compose": "---\nservices:\n mastodon:\n image: lscr.io/linuxserver/mastodon:latest\n container_name: mastodon\n environment:\n - PUID=1000\n - PGID=1000\n - TZ=Etc/UTC\n - LOCAL_DOMAIN=example.com\n - REDIS_HOST=redis\n - REDIS_PORT=6379\n - DB_HOST=db\n - DB_USER=mastodon\n - DB_NAME=mastodon\n - DB_PASS=mastodon\n - DB_PORT=5432\n - ES_ENABLED=false\n - ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=\n - ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=\n - ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=\n - SECRET_KEY_BASE=\n - OTP_SECRET=\n - VAPID_PRIVATE_KEY=\n - VAPID_PUBLIC_KEY=\n - SMTP_SERVER=mail.example.com\n - SMTP_PORT=25\n - SMTP_LOGIN=\n - SMTP_PASSWORD=\n - SMTP_FROM_ADDRESS=notifications@example.com\n - S3_ENABLED=false\n - WEB_DOMAIN=mastodon.example.com #optional\n - ES_HOST=es #optional\n - ES_PORT=9200 #optional\n - ES_USER=elastic #optional\n - ES_PASS=elastic #optional\n - S3_BUCKET= #optional\n - AWS_ACCESS_KEY_ID= #optional\n - AWS_SECRET_ACCESS_KEY= #optional\n - S3_ALIAS_HOST= #optional\n - SIDEKIQ_ONLY=false #optional\n - SIDEKIQ_QUEUE= #optional\n - SIDEKIQ_DEFAULT=false #optional\n - SIDEKIQ_THREADS=5 #optional\n - DB_POOL=5 #optional\n - NO_CHOWN= #optional\n - MASTODON_PROMETHEUS_EXPORTER_ENABLED= #optional\n volumes:\n - /path/to/mastodon/config:/config\n ports:\n - 80:80\n - 443:443\n - 9394:9394 #optional\n restart: unless-stopped\n" }, "first_run": { "endpoints": [ { "label": "Web UI", "scheme": "http", "port": 80, "path": "/", "source": "compose-first-tcp-port-fallback" } ], "credentials": [] }, "proxmox": { "runtime": "native-oci-lxc", "technology_status": "proxmox-technology-preview", "defaults": { "unprivileged": true, "ostype": "auto-from-image", "cores": 2, "memory_mb": 1024, "swap_mb": 512, "rootfs_size_gb": 8, "rootfs_storage": "local-lvm", "volume_storage": "local-lvm", "template_storage": "local", "bridge": "vmbr0", "ipv4": "dhcp", "firewall": true, "host_managed_network": true, "onboot": false, "features": [ "nesting=1" ], "shutdown_timeout_seconds": 30 }, "image_metadata_policy": { "entrypoint": "import-from-oci-image", "cmd": "import-from-oci-image", "environment": "import-image-env-then-apply-compose-overrides", "user": "import-from-oci-image", "working_dir": "import-from-oci-image", "stop_signal": "import-from-oci-image" }, "adaptations": [ { "id": "dedicated-lxc-network", "upstream_behavior": "Docker publishes selected container ports on the Docker host.", "native_lxc_behavior": "The application listens on the same container ports at its dedicated LXC address.", "reason": "A native LXC has its own address and does not require Docker port NAT.", "behavioral_impact": "Users open the LXC address instead of the Proxmox host address.", "validation": "pending-per-application" }, { "id": "compose-environment-overlay", "upstream_behavior": "Compose environment values override OCI image environment values.", "native_lxc_behavior": "ProxMenux merges the same values into lxc.environment.runtime while the CT is stopped.", "reason": "PVE imports image Env automatically; Compose values still need to override it.", "behavioral_impact": "None expected.", "validation": "pending-per-application" }, { "id": "stop-grace-period", "upstream_behavior": "Docker waits for Compose stop_grace_period before forcing termination.", "native_lxc_behavior": "ProxMenux records the same timeout for its pct shutdown lifecycle operations.", "reason": "Proxmox has no equivalent per-CT persistent restart-policy field; startup.down is not a shutdown timeout.", "behavioral_impact": "Normal Proxmox node shutdown remains governed by the node-wide shutdown policy.", "validation": "not-requested-by-compose" } ] }, "compatibility": { "automatic_install_candidate": true, "validated": false, "supported_compose_keys": [ "container_name", "environment", "image", "ports", "restart", "stop_grace_period", "volumes" ], "untranslated_blockers": [], "policy": "A generated template is never promoted to validated without install, health, restart and persistence tests." }, "validation": { "schema": "passed-at-generation", "clean_install": "pending", "service_health": "pending", "restart_persistence": "pending", "backup_restore": "pending", "update_preserves_data": "pending" }, "lifecycle": { "update_strategy": "replace-rootfs-from-new-oci-image-preserve-managed-volumes", "registry_state": { "resolved_architecture": null, "resolved_digest": null, "image_version_label": null, "image_created": null }, "change_detection": "compare-resolved-architecture-digest", "automatic_unattended_updates": false } }