#Matrix #ElementWeb #Docker
Full steps can be found at [ Ссылка ]
--------------------------------------------------------------------
What is Element?
--------------------------------------------------------------------
Element (formerly known as Vector and Riot) is a Matrix web client built using the Matrix React SDK. - [ Ссылка ]
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
01. Log into the Linux host and run the following commands in a terminal window
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL [ Ссылка ]$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] [ Ссылка ]$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
--------------------------------------------------------------------
Running Element Web
--------------------------------------------------------------------
01. Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/element -p
# download example config
wget -O ~/docker/element/config.json [ Ссылка ]
# edit config.json if needed
nano ~/docker/element/config.json
# run the element web container
docker run --name elementweb -d -v ~/docker/element/config.json:/app/config.json -p 8080:80 --restart unless-stopped vectorim/element-web
02. Open a web browser and navigate to [ Ссылка ]
Documentation: [ Ссылка ]
### Connect with me and others ###
★ Discord: [ Ссылка ]
★ Reddit: [ Ссылка ]
★ Twitter: [ Ссылка ]
Ещё видео!