Docker-compose file:
unity-relay:
container_name: unity-relay
image: derekrs/lrm_node:Bleeding-Edge
ports:
- '7776:7776/udp'
- '7777:7777/udp'
- '8080:8080'
volumes:
- './config/:/config/'
- '/etc/timezone:/etc/timezone:ro'
tty: true
restart: alwaysConfig file in config/config.json:
{
"TransportDLL": "MultiCompiled.dll",
"TransportClass": "kcp2k.KcpTransport",
"AuthenticationKey": "password",
"TransportPort": 7777,
"UpdateLoopTime": 10,
"UpdateHeartbeatInterval": 100,
"UseEndpoint": true,
"EndpointPort": 8080,
"EndpointServerList": true,
"EnableNATPunchtroughServer": true,
"NATPunchtroughPort": 7776,
"UseLoadBalancer": false,
"LoadBalancerAuthKey": "AuthKey",
"LoadBalancerAddress": "127.0.0.1",
"LoadBalancerPort": 7070,
"LoadBalancerRegion": 1
}