Skip to content

Commit d3826ee

Browse files
author
Suguru Hirahara
committed
Add license information to files for matrix-media-repo
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent e2d1879 commit d3826ee

File tree

11 files changed

+65
-0
lines changed

11 files changed

+65
-0
lines changed

docs/configuring-playbook-matrix-media-repo.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
3+
SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
4+
SPDX-FileCopyrightText: 2023 MDAD project contributors
5+
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
6+
7+
SPDX-License-Identifier: AGPL-3.0-or-later
8+
-->
9+
110
# Storing Matrix media files using matrix-media-repo (optional)
211

312
The playbook can install and configure [matrix-media-repo](https://docs.t2bot.io/matrix-media-repo/) (often abbreviated "MMR") for you.

roles/custom/matrix-media-repo/defaults/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
2+
# SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
3+
# SPDX-FileCopyrightText: 2023 MDAD project contributors
4+
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
5+
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
6+
#
7+
# SPDX-License-Identifier: AGPL-3.0-or-later
8+
19
---
210
# matrix-media-repo is a highly customizable multi-domain media repository for Matrix.
311
# Intended for medium to large environments consisting of several homeservers, this

roles/custom/matrix-media-repo/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2023 Michael Hollister
2+
# SPDX-FileCopyrightText: 2023 Slavi Pantaleev
3+
#
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
16
---
27

38
- tags:

roles/custom/matrix-media-repo/tasks/setup_install.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
2+
# SPDX-FileCopyrightText: 2024 Daniel A. Maierhofer
3+
# SPDX-FileCopyrightText: 2024 David Mehren
4+
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
5+
#
6+
# SPDX-License-Identifier: AGPL-3.0-or-later
7+
18
---
29

310
- name: Ensure media-repo paths exist

roles/custom/matrix-media-repo/tasks/setup_uninstall.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 Michael Hollister
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-or-later
4+
15
---
26

37
- name: Check existence of media-repo service

roles/custom/matrix-media-repo/tasks/validate_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2023 Michael Hollister
2+
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
3+
#
4+
# SPDX-License-Identifier: AGPL-3.0-or-later
5+
16
---
27

38
- name: Fail if required matrix-media-repo settings not defined
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
2+
3+
SPDX-License-Identifier: AGPL-3.0-or-later
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
{#
2+
SPDX-FileCopyrightText: 2023 Michael Hollister
3+
4+
SPDX-License-Identifier: AGPL-3.0-or-later
5+
#}
6+
17
REPO_CONFIG=/config/media-repo.yaml

roles/custom/matrix-media-repo/templates/media-repo/labels.j2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
{#
2+
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
3+
SPDX-FileCopyrightText: 2024 Slavi Pantaleev
4+
5+
SPDX-License-Identifier: AGPL-3.0-or-later
6+
#}
7+
18
{% if matrix_media_repo_container_labels_traefik_enabled %}
29
traefik.enable=true
310

roles/custom/matrix-media-repo/templates/media-repo/media-repo.yaml.j2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
{#
2+
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
3+
SPDX-FileCopyrightText: 2024 Suguru Hirahara
4+
5+
SPDX-License-Identifier: AGPL-3.0-or-later
6+
#}
7+
18
# General repo configuration
29
repo:
310
bindAddress: {{ matrix_media_repo_bind_address | to_json }}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
2+
SPDX-FileCopyrightText: 2023 Michael Hollister
3+
4+
SPDX-License-Identifier: AGPL-3.0-or-later

0 commit comments

Comments
 (0)