diff --git a/srv/Matrix-Docker-Compose/docker-compose.yml b/srv/Matrix-Docker-Compose/docker-compose.yml index 0c92137..09e6c82 100644 --- a/srv/Matrix-Docker-Compose/docker-compose.yml +++ b/srv/Matrix-Docker-Compose/docker-compose.yml @@ -1,28 +1,24 @@ services: element: - image: vectorim/element-web:latest + image: ghcr.io/polarix-containers/element-web:latest container_name: element restart: unless-stopped volumes: - - ./element/config.json:/app/config.json:Z + - ./element/config.json:/app/config.json:ro,Z + user: "101:101" networks: - element ports: - - "127.0.0.1:81:80" + - "127.0.0.1:81:8080" read_only: true security_opt: - no-new-privileges:true cap_drop: - ALL - cap_add: - - CHOWN - - SETGID - - SETUID - - NET_BIND_SERVICE tmpfs: - - /var/run:size=50M,mode=0770,noexec,nosuid,nodev - - /var/cache/nginx:size=50M,mode=0770,noexec,nosuid,nodev + - /etc/nginx/conf.d:size=50M,mode=0770,noexec,nosuid,nodev,uid=101 + - /var/cache/nginx:size=50M,mode=0770,noexec,nosuid,nodev,uid=101 matrix-to: image: ghcr.io/tommytran732/matrix.to