--- version: '3.2' services: cadvisor: image: gcr.io/cadvisor/cadvisor volumes: - /:/rootfs:ro - /var/run:/var/run:rw - /sys:/sys:ro - /var/lib/docker/:/var/lib/docker:ro ports: - 4194:8080 restart: always networks: - matrix element: image: vectorim/element-web:latest restart: unless-stopped ports: - "127.0.0.1:8181:80" volumes: - ./element-config.json:/app/config.json networks: - matrix synapse: image: matrixdotorg/synapse:latest restart: unless-stopped networks: - matrix volumes: - ./synapse:/data ports: - "127.0.0.1:8080:8080" networks: matrix: external: false ...