docker-stacks/element-web/docker-compose.yml

20 lines
486 B
YAML
Raw Normal View History

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
#volumes:
# - "./config/config.json:/app/config.json"
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}"