Fix sending files with TMPDIR on /data

This commit is contained in:
Daniel Berteaud 2023-12-21 17:00:48 +01:00
parent 485e7e84a0
commit f96a54b334
2 changed files with 5 additions and 4 deletions

View File

@ -2,4 +2,4 @@
set -euo pipefail
mkdir -p /data/uploads /data/media_store /data/conf
mkdir -p /data/uploads /data/media_store /data/conf /data/tmp

View File

@ -25,10 +25,11 @@ matrix:
synapse:
# The docker image to use
image: '[[ .docker.repo ]]matrix-synapse:1.98.0-1'
image: '[[ .docker.repo ]]matrix-synapse:1.98.0-2'
# Additional env var to set in the container
env: {}
env:
TMPDIR: /data/tmp
# You can define a custom yaml config which will be merged over the default one.
# Eg, to setup OIDC auth
@ -128,7 +129,7 @@ matrix:
- inflight-high@file
- security-headers@file
- hsts@file
- compression@file
#- compression@file
# Admin will apply to requests directed to /_admin/ (synapse-admin) and /_synapse/admin (admin API)
# so you can restrict it further