Docker - peter-mount/opendatabridge GitHub Wiki

I run all of my feeds within docker containers and a pre-built version of opendatabridge is available on Docker hub as area51/opendatabridge

Here's an example, we have the Darwin config stored locally on the host as /usr/local/etc/darwin.v16.xml and we can start it with the following script:

#!/bin/bash

NAME=darwinv16

docker stop $NAME
docker rm $NAME

docker run \
	-d --restart=always \
	--name $NAME \
	-v /usr/local/etc/darwin.v16.xml:/config.xml:ro \
	area51/opendatabridge

You'll be able to view the logs using docker log darwinv16

You can do the same for the nrod feeds.

Note: Although in theory you could run both the NROD & NRDP feeds in one container I'd advise you run them separately so that if one of them goes down it doesn't take down the other one.