Skip to content

Commit

Permalink
Fix table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jul 10, 2024
1 parent e1f3289 commit a5a12cb
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="high-availability">High Availability</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link current indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="high-availability">High Availability</h1>
<p>MMR supports horizontal scaling and by consequence high availability capabilities as well. Near-zero
downtime can be achieved by employing rolling upgrades of a horizontally-scaled cluster.</p>
<p>In all cases, machine ID <code>0</code> <em>must</em> be updated first, however all other processes can be updated in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="horizontal-scaling">Horizontal Scaling</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link current indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="horizontal-scaling">Horizontal Scaling</h1>
<p>MMR&#39;s horizontal scaling is achieved through the <code>MACHINE_ID</code> environment variable. The default machine
ID is <code>0</code>, and is responsible for all background tasks. Each deployed process <em>must</em> have a distinct
machine ID in order to function. The machine ID <em>must</em> be between <code>0</code> and <code>1023</code>, allowing for a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="deployment">Deployment</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link current"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="deployment">Deployment</h1>
<p>MMR sits between your reverse proxy and underlying homeserver software, such as Synapse or Dendrite.
This allows clients to continue making requests to the server without needing to know of an alternative
media handling setup.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="developer-documentation">Developer Documentation</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link current"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="developer-documentation">Developer Documentation</h1>
<p><strong>⚠️ If you are not a developer, or not compiling MMR yourself, you can ignore this page.</strong></p>
<p><strong>⚠️ The instructions on this page are subject to change without notice. Please check back for each
release.</strong></p>
Expand Down
4 changes: 2 additions & 2 deletions old_versions/matrix-media-repo/v1.3.5/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html><html><head><title>docs.t2bot.io - matrix-media-repo - Introduction</title><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="./assets/css/site.css"/></head><body><div class="top"><header role="banner"><div class="header-int"><p><a href="/"><img src="/assets/img/logo.png" alt="t2bot.io"></a></p>
<!DOCTYPE html><html><head><title>docs.t2bot.io - matrix-media-repo - Introduction</title><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href=".././assets/css/site.css"/></head><body><div class="top"><header role="banner"><div class="header-int"><p><a href="/"><img src="/assets/img/logo.png" alt="t2bot.io"></a></p>
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="matrix-media-repo">Matrix Media Repo</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link current">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="matrix-media-repo">Matrix Media Repo</h1>
<p>MMR is a highly configurable multi-domain media repository for Matrix servers. Primarily intended for
large homeservers or hosting providers, MMR deduplicates media at the storage level when possible and
generally aims to be as performant as possible.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="configuration">Configuration</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link current indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="configuration">Configuration</h1>
<p>MMR&#39;s configuration is extensive and supports a wide range of features. To avoid having to restart
the process/container every time a config change is made, most options support being live reloaded
and are automatically watched. Some environments may still prefer to restart the container, however.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="installation">Installation</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link current">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="installation">Installation</h1>
<p>MMR sits between your reverse proxy and homeserver software, intercepting media endpoints and processing
requests itself. MMR must also be configured to reach your homeserver to validate access tokens and
other visibility checks as needed.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="installation-methods">Installation Methods</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link current indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="installation-methods">Installation Methods</h1>
<p>The provided Docker container is the preferred deployment approach, supporting environments commonly
used by Matrix server hosting providers. It&#39;s recommended to first deploy MMR in a staging or test
environment to catch any deployment-specific variations or dependencies.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="server-names">Server Names</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link current indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="server-names">Server Names</h1>
<p>Configuring MMR to use the correct server name can be challenging. MMR requires that it be approached
with a <code>Host</code> header matching the name used in user IDs. This same server name <em>must</em> also be the name
used in the config for the homeserver.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p><a href="https://matrix.to/#/#community:t2bot.io">#community:t2bot.io</a>
<a href="https://status.t2bot.io">status.t2bot.io</a>
<a href="https://matrix.to/#/#help:t2bot.io">#help:t2bot.io</a></p>
</div></header><main><div class="docs-page"><div class="toc"></div><div class="content"><h1 id="signing-keys">Signing Keys</h1>
</div></header><main><div class="docs-page"><div class="toc"><a href="/matrix-media-repo/unstable" class="toc-link">Introduction</a><a href="/matrix-media-repo/v1.3.5/developers" class="toc-link"> Developers</a><a href="/matrix-media-repo/v1.3.5/installation" class="toc-link">Installation</a><a href="/matrix-media-repo/v1.3.5/installation/config" class="toc-link indent"> Configuration</a><a href="/matrix-media-repo/v1.3.5/installation/server-names" class="toc-link indent"> Server Names</a><a href="/matrix-media-repo/v1.3.5/installation/signing-key" class="toc-link current indent"> Signing Keys</a><a href="/matrix-media-repo/v1.3.5/installation/methods" class="toc-link indent"> Methods</a><a href="/matrix-media-repo/v1.3.5/deployment" class="toc-link"> Deployment</a><a href="/matrix-media-repo/v1.3.5/deployment/horizontal-scaling" class="toc-link indent"> Horizontal Scaling</a><a href="/matrix-media-repo/v1.3.5/deployment/high-availability" class="toc-link indent"> High Availability</a><a href="/matrix-media-repo/v1.3.5/upgrading" class="toc-link"> Upgrading</a><a href="/matrix-media-repo/v1.3.5/upgrading/to-130" class="toc-link indent"> Upgrading to v1.3.0</a></div><div class="content"><h1 id="signing-keys">Signing Keys</h1>
<p>MMR is capable of <a href="https://github.com/matrix-org/matrix-spec-proposals/pull/3916">MSC3916</a>-style
authentication, which requires the use of a &quot;signing key&quot; to authorize outbound federated requests
for media. MMR can authorize inbound requests without a signing key.</p>
Expand Down
Loading

0 comments on commit a5a12cb

Please sign in to comment.