1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2025-01-20 13:02:02 -05:00

Switch to Element Web from Polarix Containers

Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
This commit is contained in:
wj25czxj47bu6q 2025-01-09 10:24:01 +00:00 committed by GitHub
parent b03f7d98aa
commit ec6273f1e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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