add readonly mode
This commit is contained in:
1 parent
2f716986e7
commit
d81e69b3a2
1 file changed
+40
@@ -73,3 +73,43 @@ ln -s docker-compose-validator.yml docker-compose.yml
|
||||
```shell
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
# Running SANR Network node in readonly mode
|
||||
|
||||
|
||||
## Minimum requirements
|
||||
- [Ubuntu latest](https://ubuntu.com/server)
|
||||
- [Docker](https://docs.docker.com/engine/install/ubuntu/)
|
||||
- [Docker Compose](https://docs.docker.com/engine/install/ubuntu/)
|
||||
- Ethereum wallet (ERC-20 with full access)
|
||||
|
||||
## 1. Environment setup
|
||||
### 1.1 Create a directory and Navigate to it
|
||||
```shell
|
||||
mkdir -p /opt/sanchain/readonly
|
||||
```
|
||||
```shell
|
||||
cd /opt/sanchain/readonly
|
||||
```
|
||||
### 1.2 Clone the Project
|
||||
```shell
|
||||
git clone git@gitlab.mind-dev.com:santiopts/pos/pos_network_signer.git .
|
||||
```
|
||||
### 1.3 Configuration and settings edit
|
||||
```shell
|
||||
mv env.example .env
|
||||
```
|
||||
```shell
|
||||
nano .env
|
||||
```
|
||||
- `EXTERNAL_IP`=Server external address
|
||||
|
||||
### 5.2 Configure the Node Type
|
||||
```shell
|
||||
ln -s docker-compose-readonly.yml docker-compose.yml
|
||||
```
|
||||
|
||||
### 5.3 Launch the Project
|
||||
```shell
|
||||
docker compose up -d
|
||||
|
||||
Reference in new issue
Block a user