- Rebases official image to the latest polarix-containers/nginx:unprivileged-mainline-slim image, to be used as a drop-in replacement.
- Unprivileged image: you should check your volumes' permissions (eg /data), default UID/GID is 101.
- Default port changed from
80
to8080
.
element:
image: ghcr.io/polarix-containers/element-web:latest
container_name: element
restart: unless-stopped
volumes:
- ./element/config.json:/app/config.json:ro,Z
user: "101:101"
read_only: true
tmpfs:
- /var/cache/nginx:size=50M,mode=0770,noexec,nosuid,nodev
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
- Licensed under AGPL 3 to comply with licensing by Element.
- Any image built by Polarix Containers is provided under the combination of license terms resulting from the use of individual packages.