Skip to content

Commit

Permalink
docs: update node.md
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed May 14, 2024
1 parent 9d7de70 commit a384a9e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions docs/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```
Expand All @@ -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
```
```

0 comments on commit a384a9e

Please sign in to comment.