add element web
This commit is contained in:
parent
98417edd8b
commit
000ec5d25f
9 changed files with 209 additions and 236 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue