Sign inSign up

caiiiycuk/vangers-server

By caiiiycuk

•Updated over 5 years ago

Vangers server compatible with native and web versions

Image
0

289

caiiiycuk/vangers-server repository overview

⁠Server

To host vangers server you need to pull vangers-server image and run it:

docker pull caiiiycuk/vangers-server:latest
docker run -v host-dir:container-dir -e SERVER=<server-name> -e CER_FILE=<path-to-cer-file> -e KEY_FILE=<path-to-key-file> caiiiycuk/vangers-server:latest

Vangers server requires cer/key files to host wss server. For example, if you want to host server on vangers.net and your cer/key files are in /root/websockify/ file, then you run command will be:

docker run -d -v /root/websockify:/root/websockify -e SERVER=vangers.net -e CER_FILE=/root/websockify/vangers.net.cer -e KEY_FILE=/root/websockify/vangers.net.key --network host caiiiycuk/vangers-server

Explanation:

  • -d: means start in detached mode
  • -v /root/websockify:/root/websockify: map host directory /root/websockify to container directory /root/websockify
  • -e SERVER=vangers.net: should be name of domain you want to host server
  • -e CERT_FILE=/root/websockify/vangers.net.cer: full path to cer file
  • -e KEY_FILE=/root/websockify/vangers.net.key: full path to key file
  • --network host: use host networking (reuired to bind on domain)

Tag summary

Content type

Image

Digest

Size

316.1 MB

Last updated

over 5 years ago

docker pull caiiiycuk/vangers-server