Public Repository

Last pushed: 2 months ago
Short Description
A routing daemon for NFD
Full Description

gondn/bridge

See https://github.com/go-ndn/bridge.

The config is /etc/bridge/bridge.json.

docker-compose example

version: "3"
services:
  node1:
    image: gondn/nfd
    restart: always
    ports:
      - 16361:6363
  node2:
    image: gondn/nfd
    restart: always
    ports:
      - 16362:6363
  bridge1:
    image: gondn/bridge
    restart: always
    depends_on:
      - node1
      - node2
    volumes:
      - ./bridge1.json:/etc/bridge/bridge.json:ro

bridge1.json

{
  "PrivateKeyPath": "key/default.pri",
  "Tunnel": [
    {
      "Local": {
        "Network": "tcp",
        "Address": "node1:6363"
      },
      "Remote": {
        "Network": "tcp",
        "Address": "node2:6363"
      },
      "Advertise": {
        "Cost": 30,
        "Interval": "1s"
      },
      "Undirected": true
    }
  ]
}
Docker Pull Command
Owner
gondn

Comments (0)