add element web

This commit is contained in:
Aron Petau 2025-11-05 14:55:11 +01:00
parent 98417edd8b
commit 000ec5d25f
9 changed files with 209 additions and 236 deletions

View file

@ -264,6 +264,31 @@ services:
- "description=Forgejo Git Server"
- "maintainer=Studio EinsZwoVier"
element-web:
image: vectorim/element-web:latest
container_name: element-web
restart: unless-stopped
ports:
- "${ELEMENT_PORT:-8082}:80"
volumes:
- ./element-web/config.json:/app/config.json:ro
mem_limit: 512m
cpus: 0.5
mem_reservation: 128m
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
depends_on:
synapse:
condition: service_started
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "description=Element Web Matrix Client"
- "maintainer=studio einszwovier"
volumes:
portainer_data:
driver: local