mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
20 lines
454 B
Markdown
20 lines
454 B
Markdown
These commands are to be run in `./interop/exec`
|
|
|
|
## Redis
|
|
|
|
```bash
|
|
docker run -p 6379:6379 -it redis:latest
|
|
```
|
|
|
|
## Listener
|
|
|
|
```bash
|
|
transport=tcp ip=0.0.0.0 is_dialer=false redis_addr=6379 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
|
|
```
|
|
|
|
## Dialer
|
|
|
|
```bash
|
|
transport=tcp ip=0.0.0.0 is_dialer=true port=8001 redis_addr=6379 port=8001 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
|
|
```
|