Sign inSign up

rinex20/ntripcaster

By rinex20

•Updated almost 4 years ago

docker of ntripcaster,it works.

Image
1

10K+

rinex20/ntripcaster repository overview

⁠NTRIPCASTER Docker

⁠Prepare for configuration

You must prepare for some configuration in host at first:

$ wget -O config.sh https://raw.githubusercontent.com/rinex20/ntripcaster_docker/master/config.sh

Then :

$ chmod +x config.sh && ./config.sh

then config ntripcaster.conf and other users or group, sourcetable files.

$ vim /etc/ntripcaster/ntripcaster.conf
  • ntripcaster.conf, main configuration
  • clientmounts.aut, stream authentication for ntrip clients
  • sourcemounts.aut, stream authentication for ntrip sources (Ntrip 2.0)
  • users.aut, user definitions
  • groups.aut, group definitions
  • sourcetable.dat, the sourcetable containing stream information

If you want to use user and password authenticated streams, you need to edit the .aut files accordingly.

In these files you will find help about what can be specified there and how to do that.

⁠Start container

The following is an example to start a container that listens on port 2101, run as a ntripcaster like below:

$ docker run -d -p 2101:2101 --name ntripcaster --restart=always -v /etc/ntripcaster:/etc/ntripcaster rinex20/ntripcaster

⁠NTRIPCASTER Docker[Featured automount]

in this new version, some new functions are supported. It includes supporting Ntrip V2.0 and changing mountpoint for client automatically.

⁠Prepare for configuration

You must prepare for some configuration in host at first:

$ wget -O config.sh https://raw.githubusercontent.com/rinex20/ntripcaster_docker/automount/config.sh

Then :

$ chmod +x config.sh && ./config.sh

then config ntripcaster.conf and mountpos.conf, sourcetable files.

$ vim /etc/ntripcaster/conf/ntripcaster.conf

⁠enable automount function

edit "ntripcaster.conf", specify the absolute path of "mountpos.conf", and then change "auto_mount false" to "auto_mount true". Now you can use auto-change mount_point function

  • ntripcaster.conf, main configuration
  • mountpos.conf, mountpos
  • sourcetable.dat, the sourcetable containing stream information

In these files you will find help about what can be specified there and how to do that.

⁠Start container

The following is an example to start a container that listens on port 2101, run as a ntripcaster like below:

$ docker run -d -p 2101:2101 --name ntripcaster --restart=always -v /etc/ntripcaster/conf:/ntripcaster/conf rinex20/ntripcaster:automount

Tag summary

Content type

Image

Digest

Size

26.3 MB

Last updated

over 6 years ago

docker pull rinex20/ntripcaster