1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
This commit is contained in:
Éric Gaspar 2023-06-07 01:21:34 +02:00
parent 00f5351017
commit 15d57d7f7f
2 changed files with 3 additions and 2 deletions

View file

@ -956,7 +956,7 @@ log_config: "/etc/matrix-__APP__/log.yaml"
# Directory where uploaded images and attachments are stored. # Directory where uploaded images and attachments are stored.
# #
media_store_path: "/home/yunohost.app/matrix-__APP__/media" media_store_path: "__DATA_DIR__/media"
# Media storage providers allow media to be stored in different # Media storage providers allow media to be stored in different
# locations. # locations.
@ -970,7 +970,7 @@ media_storage_providers:
# Whether to wait for successful storage for local uploads # Whether to wait for successful storage for local uploads
store_synchronous: false store_synchronous: false
config: config:
directory: "/home/yunohost.app/matrix-__APP__/media_storage" directory: "__DATA_DIR__/media_storage"
# The largest allowed upload size in bytes # The largest allowed upload size in bytes
# #

View file

@ -80,6 +80,7 @@ ram.runtime = "50M"
dir = "/opt/yunohost/matrix-__APP__" dir = "/opt/yunohost/matrix-__APP__"
[resources.data_dir] [resources.data_dir]
subdirs = ["media", "media_storage"]
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"