Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Michiruf-Private/UnityMirrorNetworkingSkeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Mirror Networking Skeleton

Server configuration

Example docker-compose

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: always

Config 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
}

About

Unity Networking Skeleton using Mirror as Networking provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages