2022-03-16 13:25:32 +00:00
|
|
|
# https://hub.docker.com/r/vectorim/element-web
|
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
element-web:
|
|
|
|
image: vectorim/element-web
|
|
|
|
container_name: element-web
|
2022-03-16 13:41:15 +00:00
|
|
|
volumes:
|
|
|
|
- "./config/config.json:/app/config.json"
|
2022-03-16 13:25:32 +00:00
|
|
|
ports:
|
|
|
|
- "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:80"
|
|
|
|
env_file: .env
|
|
|
|
restart: unless-stopped
|
|
|
|
user: "${HOST_USER:-0}"
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|