Expose 18080 for HTTP API in Testnet (#608)
This commit is contained in:
parent
e51865fe33
commit
98bc66a67c
@ -6,7 +6,7 @@ services:
|
|||||||
dockerfile: testnet/Dockerfile
|
dockerfile: testnet/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000/tcp"
|
- "3000:3000/tcp"
|
||||||
- "8080:8080/tcp"
|
- "18080:18080/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./testnet:/etc/nomos
|
- ./testnet:/etc/nomos
|
||||||
environment:
|
environment:
|
||||||
|
@ -47,13 +47,13 @@ docker compose logs -f {bootstrap,libp2p-node,mixnode,etcd}
|
|||||||
|
|
||||||
## Using testnet
|
## Using testnet
|
||||||
|
|
||||||
Bootstrap node is accessible from the host via `3000` and `8080` ports. To expose other nomos nodes, please update `libp2p-node` service in the `compose.yml` file with this configuration:
|
Bootstrap node is accessible from the host via `3000` and `18080` ports. To expose other nomos nodes, please update `libp2p-node` service in the `compose.yml` file with this configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
libp2p-node:
|
libp2p-node:
|
||||||
ports:
|
ports:
|
||||||
- "3001-3010:3000" # Use range depending on the number of nomos node replicas.
|
- "3001-3010:3000" # Use range depending on the number of nomos node replicas.
|
||||||
- "8081-8190:8080"
|
- "18081-18190:18080"
|
||||||
```
|
```
|
||||||
|
|
||||||
After running `docker compose up`, the randomly assigned ports can be viewed with `ps` command:
|
After running `docker compose up`, the randomly assigned ports can be viewed with `ps` command:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user