add color around port selection/overrides, update env-example

This commit is contained in:
lza_menace
2020-10-08 21:22:39 -07:00
parent e2cc874c4f
commit fa66fb1141
2 changed files with 8 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ The only requirements are [Docker](https://docs.docker.com/get-docker/) and [Doc
git clone https://github.com/lalanza808/docker-monero-node git clone https://github.com/lalanza808/docker-monero-node
cd docker-monero-node cd docker-monero-node
# OPTIONAL: Setup Grafana password and blockchain storage location # OPTIONAL: Setup Grafana password, blockchain storage location, or port overrides
cp env-example .env cp env-example .env
vim .env vim .env
@@ -21,13 +21,13 @@ vim .env
docker-compose build # make build docker-compose build # make build
``` ```
The following ports will be bound for `monerod`: The following ports will be bound for `monerod` by default, but you can override in `.env`:
- 18080 # p2p - 18080 # p2p
- 18089 # restricted rpc - 18081 # restricted rpc
- 18082 # zmq - 18082 # zmq
- 18083 # unrestricted rpc - 18083 # unrestricted rpc
You will want to open/allow ports 18080 and 18089 in your firewall for usage as a remote/public node. You will want to open/allow ports 18080 and 18081 in your firewall for usage as a remote/public node (or whichever p2p and restricted ports you picked).
## Usage ## Usage

View File

@@ -1,2 +1,6 @@
DATA_DIR=/opt/monero/data DATA_DIR=/opt/monero/data
GRAFANA_PASSWORD=xxxxxxx GRAFANA_PASSWORD=xxxxxxx
P2P_PORT=18080
RESTRICTED_PORT=18081
ZMQ_PORT=18082
UNRESTRICTED_PORT=18083