Optimized Mastodon for flock.town

This commit is contained in:
Kevin Veen-Birkenbach 2025-02-20 00:31:47 +01:00
parent 5829edf23c
commit a70b0ed48f
6 changed files with 77 additions and 60 deletions

View File

@ -1,6 +1,6 @@
# Path Variables for Key Directories and Scripts
path_administrator_home: "/home/administrator/"
path_administrator_scripts: "/opt/scripts/"
path_docker_compose_instances: "/opt/docker/"
path_system_lock_script: "/opt/scripts/system-maintenance-lock.py"
path_administrator_home: "/home/administrator/"
path_administrator_scripts: "/opt/scripts/"
path_docker_compose_instances: "/opt/docker/"
path_system_lock_script: "/opt/scripts/system-maintenance-lock.py"

View File

@ -122,6 +122,9 @@ defaults_applications:
version: "latest"
single_user_mode: false # Set true for initial setup
setup: false # Set true in inventory file to execute the setup and initializing procedures
#
# Check out the README.md of the docker-mastodon role to get detailled instructions about how to setup the credentials
#
# credentials:
# database_password:
# secret_key_base:
@ -150,7 +153,7 @@ defaults_applications:
mailu:
version: "2024.06"
domain: "{{primary_domain}}"
setup: false # Set true in inventory file to execute the setup and initializing procedures
setup: false # Set true in inventory file to execute the setup and initializing procedures
## Moodle
moodle:

View File

@ -1,16 +1,20 @@
# Adapt the values in your inventory file
defaults_service_provider:
type: "legal" # Accepted Values: natural, legal
name: "CyMaIS Demo Instance"
description:
subtitel: "Infrastructure Demo solutions"
summary: "We offer infrastructure solutions for the world"
detailed: ""
address:
street: "Binary Avenue 01"
city: "Cybertown"
postal_code: "00001"
country: "Nexusland"
type: "legal" # Accepted Values: natural, legal
company:
titel: "CyMaIS Example GbR"
slogan: "We keep your 0 and 1 in line"
address:
street: "Binary Avenue 01"
city: "Cybertown"
postal_code: "00001"
country: "Nexusland"
logo: https://cloud.veen.world/s/logo_cymais_512x512/download
platform:
titel: "CyMaIS Plattform Demo"
subtitel: "Demo of the Cyber Master Infrastructur Solution Plattform"
logo: https://cloud.veen.world/s/logo_cymais_512x512/download
favicon: https://cloud.veen.world/s/veen_world_favicon/download
contact:
bluesky: "@{{administrator_username}}.{{domains.bluesky_api}}"
email: "contact@{{primary_domain}}"

View File

@ -11,7 +11,13 @@ This README and some parts of the code were created with the assistance of ChatG
Run the following command to generate a new configuration setup:
```bash
docker pull ghcr.io/mastodon/mastodon:latest
# Secret Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails secret
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails secret
# Vapid Key Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rails mastodon:webpush:generate_vapid_key
# ACTIVE_RECORD_ENCRYPTION Generation
docker run --rm ghcr.io/mastodon/mastodon:latest bin/rails db:encryption:init
```
### 🔄 Setup with an Existing Configuration

View File

@ -80,7 +80,7 @@ cards:
class: "fa-solid fa-chart-line"
title: "Matomo Analytics"
text: "Experience the power of Matomo, an innovative open-source analytics platform that delivers real-time insights, robust visitor tracking, and privacy-first features to elevate your website performance. Dive into actionable data with unmatched precision and clarity!"
url: {{domains.matomo}}
url: https://{{domains.matomo}}
link_text: "Discover Matomo Now!"
{% endif %}
@ -89,7 +89,7 @@ cards:
class: "fa-solid fa-users"
title: "LDAP Directory"
text: "Unleash the potential of centralized identity management with our vibrant LDAP solution. Enjoy seamless authentication, efficient user management, and enhanced security that empowers your organization to stay connected, agile, and ahead of the curve in digital transformation."
url: {{domains.ldap}}
url: https://{{domains.ldap}}
link_text: "Empower Your Network!"
{% endif %}
@ -98,7 +98,7 @@ cards:
class: "fa-solid fa-lock"
title: "Keycloak Identity"
text: "Step into a secure future with Keycloak! Our dynamic identity and access management solution offers streamlined SSO capabilities, robust security measures, and an intuitive user experience that propels your applications to unprecedented heights of performance and reliability."
url: {{domains.keycloak}}
url: https://{{domains.keycloak}}
link_text: "Secure Your Future Now!"
{% endif %}
@ -107,7 +107,7 @@ cards:
class: "fa-solid fa-cloud"
title: "Nextcloud"
text: "Elevate your collaboration with Nextcloud, a vibrant self-hosted cloud solution designed for dynamic file sharing, seamless communication, and effortless teamwork. Embrace unparalleled control, flexibility, and a boosted digital workspace that adapts to your every need."
url: {{domains.nextcloud}}
url: https://{{domains.nextcloud}}
link_text: "Experience Nextcloud Today!"
{% endif %}
@ -116,7 +116,7 @@ cards:
class: "fa-solid fa-code"
title: "Gitea"
text: "Boost your development journey with Gitea, a lightweight and energetic self-hosted Git service that offers efficient code collaboration, intuitive version control, and an agile environment for your projects. Ignite your coding spirit, innovate faster, and code with confidence!"
url: {{domains.gitea}}
url: https://{{domains.gitea}}
link_text: "Ignite Your Code Now!"
{% endif %}
@ -125,7 +125,7 @@ cards:
class: "fa-solid fa-blog"
title: "WordPress"
text: "Unleash your creative potential with WordPress, a dynamic platform that empowers you to build, manage, and scale stunning websites and blogs effortlessly. Experience an ever-evolving ecosystem that inspires innovation and drives digital success with every click."
url: {{domains.wordpress}}
url: https://{{domains.wordpress}}
link_text: "Launch Your Site Today!"
{% endif %}
@ -134,7 +134,7 @@ cards:
class: "fa-solid fa-book"
title: "MediaWiki"
text: "Empower your knowledge base with MediaWiki, a versatile and collaborative platform designed to build comprehensive, user-driven documentation. Embrace an energetic community and innovative tools that turn information into a vibrant, living resource."
url: {{domains.mediawiki}}
url: https://{{domains.mediawiki}}
link_text: "Explore MediaWiki Now!"
{% endif %}
@ -143,7 +143,7 @@ cards:
class: "fa-solid fa-comments"
title: "MyBB Forum"
text: "Transform your community engagement with MyBB, a feature-rich forum solution that combines modern design with robust functionality. Enjoy dynamic discussions, intuitive moderation, and an energetic user interface that brings people together like never before."
url: {{domains.mybb}}
url: https://{{domains.mybb}}
link_text: "Join the Conversation!"
{% endif %}
@ -152,7 +152,7 @@ cards:
class: "fa-solid fa-link"
title: "YOURLS URL Shortener"
text: "Streamline your online presence with YOURLS, a nimble URL shortening solution that makes sharing links faster, easier, and more engaging. Enjoy the benefits of enhanced tracking and a user-friendly interface that energizes your digital strategy."
url: {{domains.yourls}}
url: https://{{domains.yourls}}
link_text: "Shorten Links Instantly!"
{% endif %}
@ -161,7 +161,7 @@ cards:
class: "fa-solid fa-envelope"
title: "Mailu Mail Server"
text: "Revolutionize your email communications with Mailu, a secure and flexible mail server solution that integrates seamlessly into your workflow. Experience enhanced reliability, robust security, and an energetic approach to managing your digital correspondence."
url: {{domains.mailu}}
url: https://{{domains.mailu}}
link_text: "Elevate Your Email Now!"
{% endif %}
@ -170,7 +170,7 @@ cards:
class: "fa-solid fa-bullhorn"
title: "Mastodon Social"
text: "Dive into a decentralized social experience with Mastodon, a vibrant platform that redefines online communication with its community-driven approach. Enjoy a refreshing burst of innovation, freedom, and energetic interaction every time you connect."
url: {{domains.mastodon}}
url: https://{{domains.mastodon}}
link_text: "Join the Social Revolution!"
{% endif %}
@ -179,7 +179,7 @@ cards:
class: "fa-solid fa-camera"
title: "Pixelfed"
text: "Showcase your visual story with Pixelfed, an inspiring self-hosted image sharing platform that champions creativity and privacy. Revel in a dynamic, artistic environment where every photo is a window to endless possibilities and vibrant expression."
url: {{domains.pixelfed}}
url: https://{{domains.pixelfed}}
link_text: "Share Your Vision Now!"
{% endif %}
@ -188,7 +188,7 @@ cards:
class: "fa-solid fa-video"
title: "PeerTube"
text: "Embrace a new era of video hosting with PeerTube, a decentralized platform that empowers creators with freedom, innovation, and a community-focused approach. Experience seamless streaming and dynamic sharing that fuels your creative ambitions."
url: {{domains.peertube}}
url: https://{{domains.peertube}}
link_text: "Stream with Freedom!"
{% endif %}
@ -197,7 +197,7 @@ cards:
class: "fa-solid fa-chalkboard-teacher"
title: "BigBlueButton"
text: "Transform online learning and collaboration with BigBlueButton, an interactive web conferencing solution designed to energize virtual classrooms and meetings. Enjoy dynamic tools and an engaging environment that makes every session a powerful learning experience."
url: {{domains.bigbluebutton}}
url: https://{{domains.bigbluebutton}}
link_text: "Start Your Virtual Session!"
{% endif %}
@ -206,7 +206,7 @@ cards:
class: "fa-solid fa-music"
title: "Funkwhale"
text: "Dive into a world of rhythm and sound with Funkwhale, an innovative self-hosted music sharing platform that celebrates creativity and community. Experience an energetic soundscape and seamless music streaming that amplifies your passion for tunes."
url: {{domains.funkwhale}}
url: https://{{domains.funkwhale}}
link_text: "Jam Out Now!"
{% endif %}
@ -215,7 +215,7 @@ cards:
class: "fa-solid fa-sitemap"
title: "Joomla CMS"
text: "Elevate your website management with Joomla, a powerful content management system that fuses versatility with dynamic design. Experience a vibrant platform that inspires creativity and drives your digital presence to new, energetic heights."
url: {{domains.joomla}}
url: https://{{domains.joomla}}
link_text: "Build with Joomla Today!"
{% endif %}
@ -224,7 +224,7 @@ cards:
class: "fa-solid fa-calendar-check"
title: "Attendize"
text: "Revolutionize your event management with Attendize, an energetic and intuitive platform designed to streamline ticketing and event planning. Enjoy a feature-rich, user-friendly solution that transforms every event into an unforgettable experience."
url: {{domains.attendize}}
url: https://{{domains.attendize}}
link_text: "Plan Your Event Now!"
{% endif %}
@ -233,7 +233,7 @@ cards:
class: "fa-solid fa-table"
title: "Baserow"
text: "Empower your data management with Baserow, an innovative platform that makes building and managing databases both fun and efficient. Enjoy a dynamic interface, seamless collaboration, and energetic tools that supercharge your workflow."
url: {{domains.baserow}}
url: https://{{domains.baserow}}
link_text: "Manage Data with Ease!"
{% endif %}
@ -242,7 +242,7 @@ cards:
class: "fa-solid fa-list"
title: "Listmonk"
text: "Elevate your email marketing with Listmonk, a high-energy, self-hosted solution that offers powerful newsletter management and analytics. Enjoy an intuitive design, robust features, and a spirited approach that takes your campaigns to the next level."
url: {{domains.listmonk}}
url: https://{{domains.listmonk}}
link_text: "Boost Your Campaigns Now!"
{% endif %}
@ -251,7 +251,7 @@ cards:
class: "fa-solid fa-comment-dots"
title: "Discourse Forum"
text: "Ignite community conversations with Discourse, an innovative forum platform that redefines online discussions with its modern, engaging interface. Experience an energetic, user-friendly environment that brings people together and fuels vibrant exchanges."
url: {{domains.discourse}}
url: https://{{domains.discourse}}
link_text: "Join the Discussion!"
{% endif %}
@ -260,7 +260,7 @@ cards:
class: "fa-solid fa-satellite-dish"
title: "Matrix"
text: "Step into the future of communication with Matrix, a dynamic and decentralized platform that delivers secure, real-time messaging and collaboration. Enjoy an innovative ecosystem that energizes your digital interactions and connects you globally."
url: {{domains.matrix}}
url: https://{{domains.matrix}}
link_text: "Connect on Matrix Now!"
{% endif %}
@ -269,7 +269,7 @@ cards:
class: "fa-solid fa-project-diagram"
title: "OpenProject"
text: "Transform your project management with OpenProject, a vibrant and collaborative tool that brings clarity and energy to your planning, tracking, and team communication. Experience streamlined workflows and an innovative platform that propels your projects forward."
url: {{domains.openproject}}
url: https://{{domains.openproject}}
link_text: "Manage Projects Dynamically!"
{% endif %}
@ -278,7 +278,7 @@ cards:
class: "fa-solid fa-code-branch"
title: "GitLab"
text: "Accelerate your software development with GitLab, an energetic, all-in-one platform for source code management and continuous integration. Experience a robust, collaborative environment that empowers teams to innovate and deliver exceptional results."
url: {{domains.gitlab}}
url: https://{{domains.gitlab}}
link_text: "Revolutionize Your DevOps!"
{% endif %}
@ -287,7 +287,7 @@ cards:
class: "fa-solid fa-file-invoice-dollar"
title: "Akaunting"
text: "Empower your financial management with Akaunting, a dynamic and feature-rich accounting platform designed to simplify your bookkeeping and boost your business growth. Enjoy intuitive tools, real-time insights, and an energetic approach to your finances."
url: {{domains.akaunting}}
url: https://{{domains.akaunting}}
link_text: "Transform Your Finances Today!"
{% endif %}
@ -296,7 +296,7 @@ cards:
class: "fa-solid fa-graduation-cap"
title: "Moodle"
text: "Ignite the learning experience with Moodle, a powerful and versatile platform for online education that energizes classrooms and fosters interactive learning. Embrace innovative tools, engaging content, and a dynamic community of educators and learners."
url: {{domains.moodle}}
url: https://{{domains.moodle}}
link_text: "Start Learning Now!"
{% endif %}
@ -305,7 +305,7 @@ cards:
class: "fa-solid fa-tasks"
title: "Taiga"
text: "Supercharge your project management with Taiga, a dynamic and agile tool designed for teams that thrive on creativity and collaboration. Experience a vibrant interface, robust task tracking, and an energetic platform that drives your projects to success."
url: {{domains.taiga}}
url: https://{{domains.taiga}}
link_text: "Boost Your Projects Now!"
{% endif %}
@ -314,7 +314,7 @@ cards:
class: "fa-solid fa-user-friends"
title: "Friendica"
text: "Connect and share like never before with Friendica, an innovative social networking platform that celebrates community, freedom, and dynamic interactions. Enjoy a spirited and open environment where every connection is a step toward a more engaging digital world."
url: {{domains.friendica}}
url: https://{{domains.friendica}}
link_text: "Join the Social Movement!"
{% endif %}
@ -323,7 +323,7 @@ cards:
class: "fa-solid fa-briefcase"
title: "Portfolio"
text: "Showcase your professional journey with Portfolio, a dynamic platform that combines creativity and functionality to highlight your achievements. Experience an energetic design, intuitive features, and a compelling way to present your work to the world."
url: {{domains.portfolio}}
url: https://{{domains.portfolio}}
link_text: "Elevate Your Profile Now!"
{% endif %}
@ -332,7 +332,7 @@ cards:
class: "fa-solid fa-sun"
title: "Bluesky"
text: "Soar to new digital heights with Bluesky, an innovative platform that reimagines social networking with its forward-thinking, community-driven approach. Experience a burst of energy, creativity, and the freedom to connect in a truly inspiring way."
url: {{domains.bluesky}}
url: https://{{domains.bluesky}}
link_text: "Soar with Bluesky Today!"
{% endif %}
@ -341,7 +341,7 @@ cards:
class: "fa-solid fa-database"
title: "PHPMyAdmin"
text: "Manage your databases with confidence using PHPMyAdmin, a robust and dynamic tool designed to simplify administration and enhance productivity. Enjoy an intuitive interface, powerful features, and an energetic approach that makes database management a breeze."
url: {{domains.phpmyadmin}}
url: https://{{domains.phpmyadmin}}
link_text: "Optimize Your Database Now!"
{% endif %}
@ -350,20 +350,24 @@ cards:
class: "fa-solid fa-box"
title: "SNIPE-IT"
text: "Streamline your asset management with SNIPE-IT, a cutting-edge solution that brings efficiency, clarity, and energy to tracking your hardware and software inventory. Experience a user-friendly design and dynamic features that make asset management simple and engaging."
url: {{domains.snipe_it}}
url: https://{{domains.snipe_it}}
link_text: "Manage Assets Effortlessly!"
{% endif %}
company:
titel: {{service_provider.name}}
subtitel: {{service_provider.description.subtitel}}
platform:
titel: {{service_provider.platform.titel}}
subtitel: {{service_provider.platform.subtitel}}
logo:
source: https://cloud.veen.world/s/logo_face_512x512/download
source: {{service_provider.platform.logo}}
favicon:
source: https://cloud.veen.world/s/veen_world_favicon/download
source: {{service_provider.platform.favicon}}
company:
titel: {{service_provider.company.titel}}
subtitel: {{service_provider.company.subtitel}}
logo:
source: {{service_provider.company.logo}}
address:
{{ service_provider.address | to_nice_yaml(indent=4) | indent(4, true) }}
imprint_url: https://s.veen.world/imprint
{{ service_provider.company.address | to_nice_yaml(indent=4) | indent(4, true) }}
imprint_url: {{service_provider.legal.imprint}}
navigation:
header:
children:

View File

@ -10,13 +10,13 @@
<h2>Information in accordance with § 5 TMG</h2>
<p>
<strong>{{ service_provider.name }}</strong><br>
{{ service_provider.description.subtitel }}<br>
<strong>{{ service_provider.company.titel }}</strong><br>
{{ service_provider.company.subtitel }}<br>
<br>
<strong>Address:</strong><br>
{{ service_provider.address.street }}<br>
{{ service_provider.address.postal_code }} {{ service_provider.address.city }}<br>
{{ service_provider.address.country }}
{{ service_provider.company.address.street }}<br>
{{ service_provider.company.address.postal_code }} {{ service_provider.company.address.city }}<br>
{{ service_provider.company.address.country }}
</p>
<h2>Contact</h2>