Suguru Hirahara
d3826ee652
Add license information to files for matrix-media-repo
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
пре 1 година
Slavi Pantaleev
c47eca389b
Rework all roles to include `component_(docker|container)_image_registry_prefix*` variables
This:
- brings consistency - no more mixing `_name_prefix` and `_registry_prefix`
- adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook
We still have `_docker_` vs `_container_` inconsistencies.
These may be worked on later.
пре 1 година
renovate[bot]
9f4ecb1749
Update ghcr.io/t2bot/matrix-media-repo Docker tag to v1.3.8
пре 1 година
Suguru Hirahara
64d6f77abf
Edit user identifier examples: to `@alice`
From `@<username>`, `@your_username`, `@example`, etc.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
пре 1 година
Suguru Hirahara
55fcaac1f1
Fix capitalization: matrix → Matrix
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
пре 1 година
Suguru Hirahara
90cfdabb2b
Replace DOMAIN with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
пре 1 година
Suguru Hirahara
532babc55b
Replace yourdomain.com with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
пре 1 година
Slavi Pantaleev
05b79057aa
Do not add quotes around already-backtick-quoted Traefik rules
As reported in https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3451#issuecomment-2331316593
Likely the solution to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3451
пре 1 година
Slavi Pantaleev
05e813a846
Default matrix_media_repo_generate_signing_key to false in the matrix-media-repo role
No need to duplicate the same logic as in `group_vars/matrix_servers`.
Having it disabled by default in the role itself and overriding it at the playbook level (based on the selected homeserver implementation) makes more sense.
пре 1 година
Michael Hollister
56b0a72000
Apply PR feedback
пре 1 година
renovate[bot]
b5473b3bd0
chore(deps): update ghcr.io/t2bot/matrix-media-repo docker tag to v1.3.7
пре 1 година
Michael Hollister
f1dbbd3106
Added new fields to MMR config template
пре 1 година
Michael Hollister
2c360a99fe
Added MMR metrics proxying support
пре 1 година
Slavi Pantaleev
f794aa2005
Add support for enabling/disabling all the other matrix-media-repo Traefik labels
This is provoked by de91fe933d94afcdbfdb0c6cf75a1dfa43dfdf43,
where I've added a few new labels and made it possible for people to
disable them.
In this patch, I'm making it possible to disable any of the old Traefik
labels in a similar way.
пре 1 година
Slavi Pantaleev
de91fe933d
Add Traefik labels for handling authenticated media (MSC3916) in matrix-media-repo
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3409
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.5
- https://github.com/matrix-org/matrix-spec-proposals/pull/3916
Support for authenticated media routes is enabled by default, but
variables are in place to disable it if necessary.
This change has not been tested.
пре 1 година
renovate[bot]
386d98886d
Update ghcr.io/t2bot/matrix-media-repo Docker tag to v1.3.6
пре 1 година
Slavi Pantaleev
329796f4d4
Upgrade Traefik to v3 and adapt matrix-media-repo role
`matrix-media-repo` is the only role that seems incompatible with the
changes introduced by Traefik v3, due to its use of `PathPrefix` with
regular expressions in a few places.
Regular expressions should now be used with `PathRegexp`, not
`PathPrefix`. Furthermore, they should follow the Golang regexp syntax,
as described in the migration guide:
https://doc.traefik.io/traefik/migration/v2-to-v3-details/#dynamic-configuration-changes
пре 1 година
Slavi Pantaleev
42b00fdff4
Fix container image repository name for matrix-media-repo
Fixup for f97e849018
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3354
пре 1 година
Slavi Pantaleev
4224741130
Remove a few remaining hardcoded docker.service references
Continuation of 9f2eff2ac7
Provoked by 7749048bf8
(https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3353 )
пре 1 година
Slavi Pantaleev
f97e849018
Switch matrix-media-repo to Github Container Registry (supports multi-arch)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3349
`docker.io/turt2live/matrix-media-repo:v1.3.4` is amd64-only.
`ghcr.io/t2bot/matrix-media-repo:v1.3.4` is a multi-arch image which
works on arm64.
пре 1 година
Michael Hollister
97d43c78d3
Added MMR media redirect config options
пре 2 година
Slavi Pantaleev
0990fe79cd
Add missing matrix_media_repo_container_labels_traefik_entrypoints variable and hook it to other matrix-media-repo entrypoint variables
пре 2 година
renovate[bot]
2d4b96e0c5
Update turt2live/matrix-media-repo Docker tag to v1.3.4
пре 2 година
Slavi Pantaleev
b91ad453be
Adjust TLS variables for homeservers to follow devture_traefik_config_entrypoint_web_secure_enabled (via matrix_federation_traefik_entrypoint_tls)
пре 2 година
Slavi Pantaleev
69ca30d1b1
Add support for the internal Traefik entrypoint to matrix-media-repo
пре 2 година
Slavi Pantaleev
6b5f42fa81
Indirectly make use of matrix_homeserver_federation_enabled in matrix-media-repo and add some comments around Traefik labels
пре 2 година
Slavi Pantaleev
f54b68956d
Adapt matrix-media-repo to new container network setup, etc.
пре 2 година
Slavi Pantaleev
3e19c8b102
Define matrix_media_repo_homeservers_auto in group vars
This is mostly so as to avoid referring to variables from other roles,
like `matrix_nginx_proxy_proxy_matrix_client_api_addr_with_container`.
пре 2 година
Slavi Pantaleev
883afa11dc
Do not hardcode devture_postgres_identifier in matrix-media-repo role
This should come (and already does) from group_vars/matrix_servers
пре 2 година
Slavi Pantaleev
ce013a325c
Remove duplicate matrix_media_repo_identifier definition from group_vars/matrix_servers
`matrix_media_repo_identifier` is already defined in the role defaults,
which is a better role to have it anyway.
пре 2 година
Michael Hollister
0908c6b662
Added Traefik support to MMR
пре 2 година
Michael Hollister
42f33339c5
Updated MMR docs with updated fields in main.yaml ( #3047 )
* Updated MMR docs with updated fields in main.yaml
* Removed uneeded placeholder db password
пре 2 година
Michael Hollister
805280355c
Changed mxc links to matrix_domain instead of matrix_server_fqn_matrix
пре 2 година
Slavi Pantaleev
abd0823554
Add some parenthesis in if statement
пре 2 година
axiopaladin
da039614fd
updated MMR yaml defaults and docs for basic dendrite support
пре 2 година
Michael Hollister
85005d1b0b
Fixed linting warnings
пре 2 година
Michael Hollister
305e3afb1b
Updated matrix media repo to v1.3.3
пре 2 година
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
пре 2 година
Slavi Pantaleev
6427397486
Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.
Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.
We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
пре 2 година
Michael Hollister
63ee8e5bb9
Replaced csApi config with proxy container url
пре 2 година
Michael Hollister
c8b6b6e034
Added additioanl documentation to rendered config and added to_json filters
пре 2 година
Michael Hollister
d120b0c153
Updated code to use identifier variable
пре 2 година
Michael Hollister
c043463ee1
Fixed conflicting default values for enabling media-repo
пре 2 година
Michael Hollister
ecb24dcaab
Changed volume mounting and directory structure
пре 2 година
Michael Hollister
b9f5aa0344
Removed exposing ports by default
пре 2 година
Michael Hollister
6365118067
Removed additional logging to filesystem by default
пре 2 година
Michael Hollister
78bd1dbd1b
Added matrix-media-repo role
пре 2 година