You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# change $(pwd)/data to any folder you want to store data# to use same data as desktop electerm# for Mac OS modify $(pwd)/electerm-web-data to "/Users/<your-user-name>/Library/Application Support/electerm"# for Linux OS modify $(pwd)/electerm-web-data to "/home/<your-user-name>/.config/electerm"# for Windows OS modify $(pwd)/electerm-web-data to "C:\\Users\\<your-user-name>\\AppData\\Roaming\\electerm"# SERVER_SECRET, SERVER_PASS, ENABLE_AUTH are optional,# when ENABLE_AUTH enabled, would require login with SERVER_PASS when visit# SERVER_SECRET is used to encrypt data, if not set, would use default value# Should change some_server_secret to some complicated secret string
docker run --init -v $(pwd)/electerm-web-data:/home/electerm/data \
-e "DB_PATH=/home/electerm/data" \
-e "HOST=0.0.0.0" \
# -e "SERVER_SECRET=some_server_secret" \# -e "SERVER_PASS=password_to_login" \# -e "ENABLE_AUTH=1" \
-p 8082:5577 \
zxdong262/electerm-web
# Replace some_server_secret with a strong cryptographic key# For users in China: Use the specified mirror at https://docker.xuanyuan.me/zxdong262/electerm-web:latest. Default settings apply for users in other regions.# Mount the host directory /share/nas973/electerm-web-data to /home/electerm/data in the container. Configure this path according to your storage requirements.# Setting HOST=0.0.0.0 configures the service to listen on all available network interfaces# Port mapping: Host port 8082 -> Container port 5577, enabling external access to the containerized service