Date published: 2020-05-26

Synapsa Interconnector - Install guide for Docker

Docker deployment

docker network create --driver bridge synapsanetwork

docker run --name synapsaredis --network=synapsanetwork -p 6379:6379 -d --restart always redis

docker run --name synapsaweb --network=synapsanetwork --dns=8.8.8.8 --cap-add=NET_ADMIN -e PARTNER=partnername -p 514:514/udp -p 514:514/tcp -p 80:80 -p 443:443 -d --restart always synapsa/platform:1.0.5

Mandatory parameters

--nameYour container name
--cap-add=NET_ADMINAdd Linux capability
-e PARTNER=partnernameYour oranization name, which license is generated for
-p 514:514/udpUDP 514 port forwarding from host to docker
-p 514:514/tcpTCP 514 port forwarding from host to docker
-p 80:80Port 80 port forwarding from host to docker
-p 443:443Port 443 port forwarding from host to docker
-d synapsa/platform:1.0.5Image name from Docker Hub, version 1.0.5

Optional parameters

--dns Default DNS server for container