Upgrade Element Web (v1.11.93 -> v1.11.96) and adapt to its own way of running as a non-privileged user

This commit is contained in:
Slavi Pantaleev
2025-03-31 14:27:24 +03:00
parent 17eafa86af
commit aaf283dde3
3 changed files with 9 additions and 63 deletions

View File

@@ -26,14 +26,20 @@ services:
- ./synapse/media-store:/media-store
element-web:
image: docker.io/vectorim/element-web:v1.11.93
image: ghcr.io/element-hq/element-web:v1.11.96
user: "${UID}:${GID}"
restart: unless-stopped
environment:
ELEMENT_WEB_PORT: 8080
ports:
- "${SERVICE_ELEMENT_WEB_BIND_PORT_HTTP}:8080"
volumes:
- ../../etc/services/core/element-web/nginx.conf:/etc/nginx/nginx.conf:ro
- ../../etc/services/core/element-web/config.json:/app/config.json:ro
tmpfs:
- /var/cache/nginx:rw,mode=777
- /var/run:rw,mode=777
- /tmp/element-web-config:rw,mode=777
- /etc/nginx/conf.d:rw,mode=777
networks:
default: