From a384a9e1f40ced81eeafe4e060514c523b805983 Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Tue, 14 May 2024 13:21:42 +0530 Subject: [PATCH] docs: update node.md --- docs/node.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/node.md b/docs/node.md index e0c38c6..415945c 100644 --- a/docs/node.md +++ b/docs/node.md @@ -2,14 +2,22 @@ ## Install and Deploy using Docker -1. Install docker [(setup docs)](https://github.com/NetSepio/erebrus/blob/main/docs/setup.md). +1. Install docker using this [script](https://github.com/NetSepio/erebrus/blob/main/docs/setup.md) (For Ubuntu server). Or refer the official [documentation](https://docs.docker.com/engine/install) -2. create a .env file in same directory and define the environment for erebrus . you can use template from [.sample-env](https://github.com/NetSepio/erebrus/blob/main/.sample-env). Make sure to put the correct server URL. +2. create a .env file in same directory and define the environment for erebrus . you can use template from [.sample-env](https://github.com/NetSepio/erebrus/blob/main/.sample-env). Make sure to put the correct server URL. Example: +``` +DOMAIN=http://255.255.255.255:9080 +HOST_IP=255.255.255.255 +WG_ENDPOINT_HOST=255.255.255.255 +``` +replace `255.255.255.255` with the server IP address -3. Open incoming request to ports: TCP Ports 9080(http), 9090(gRPC), 9001(p2p) and UDP port 51820 of your server to communicate with the gateway +3. Open incoming request to ports: TCP Ports `9080`(http),` 9090`(gRPC),` 9001`(p2p) and UDP port `51820` of your server to communicate with the gateway 4. Pull the ererbus docker image - +``` +docker pull ghcr.io/netsepio/erebrus:main +``` 5. Run the Image ``` @@ -21,5 +29,4 @@ docker run -d -p 9080:9080/tcp -p 9002:9002/tcp -p 51820:51820/udp \ -v ~/wireguard/:/etc/wireguard/ \ --name erebrus --env-file .env \ ghcr.io/netsepio/erebrus:main - -``` +``` \ No newline at end of file