在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:KI7SBI/HomebrewDocker开源软件地址:https://github.com/KI7SBI/HomebrewDocker开源编程语言:开源软件介绍:Using Docker to Virtualize a MMDVM server and IPSC bridgeThis Dockerfile packages up some great code that other people wrote.
Please read more about IPSC_Bridge and HB_Bridge before attempting to use them. This documentation is just really barely enough to let a knowledgable user follow steps to get it running. Please see the respective softwares for their documentation. N0MJS makes a particular note:
Why Docker?The goal in containerizing the HB+IPSC pair is to simplify running multiple instances on a single server. Docker has great documentation online. https://docs.docker.com Required ConfigYou must edit these configurations, then build your Docker image. The build process defined in the Dockerfile will copy your edited files into the new image. Anytime you edit these config files, you'll want to build a new image. Use a different tag every time you build. Docker keeps a cache of the build process. The first build will run slowly. But rebuilding just to copy the new config will run very quickly. You'll see Docker's output when you try it. Examples below. DockerfileYou probably do not need to edit this file, even if you want to run multiple instances. Nor do you need to edit this file to change the port clients use to connect to your MMDVM server.
hblink.cfgSettings for your MMDVM Server go in this file. To run a MMDVM server, specify a Master. Leave the port at 22222, clients will never see it. Remember port 22222 is inside the container. You can run multiple containers, where they all listen on 22222 inside their own containers. The port number you use must be refelected in You'll get to choose what port clients will connect to, later, with
HB_Bridge.cfgDefines the talkgroup deck. NO7RF knows more about this. Also, defines internal ports for talking to IPSC_Bridge. Must match the same (inverted) settings in IPSC_Bridge.cfg. Might as well leave the defaults alone. The ports are arbitrary, and entirely contained within the runtime container. You may run multiple instances of the same docker image without any port conflicts. dmrlink.cfgDefines parameters for IPSC master and peers. IPSC_Bridge.cfgDon't bother editing this one. Settings paired (inverted) from HB_Bridge.cfg. HB_Bridge and IPSC_Bridge will use these ports to communicate. supervisord.confSupervisord is employed to run HB_Bridge and IPSC_Bridge, we tell Docker just to run Supervisor. No edits required here. Install DockerPlease follow install instructions for your distribution, https://docs.docker.com/engine/installation/#server These are the short steps to installing on Debian 8.
And, test:
Build and Run - MMDVM ServerWe're going to run two copies. We want different talkgroup decks A and B on separate HB servers. This implies two, different IPSC connections to two different cBridge managers.
Now, go edit all your config files, in both directories.
Next step is to build a docker image. And run the 2 images.
Connect your hotspotFrom the outside, clients can connect to MMDVM servers on 50001 or 50002. Accessing log files written by hblink and dmrlinkHaven't built that in yet, but you can do it with Docker. One solution might be to mount a host folder from within the container, and write the log files there. Logs are in /tmp/hblink.log and /tmp/dmrlink.log. So, read a tutorial then try it.
Kill your running containers. can be id or name listed in the results of
Use a modified the
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论