Hornet-docker offers a dockerization of Hornet, a realtime engine originally built for Fresc.
You can find all informations about Hornet on its Github repository.
This docker image is based on the official Redis Docker repository, and is powered by Supervisor to control both processes of Redis and Hornet.
Build this dockerfile by :
$ docker build -t hornet .
Run the built hornet image by :
$ docker run --name some-hornet -p 8187:8187 -d hornet
You can also get the image from the Nectify DockerHub :
$ docker run --name some-hornet -p 8187:8187 -d nectify/hornet
Connect the Hornet container from your application :
$ docker run --name some-app --link some-hornet:hornet -d application-that-uses-hornet
Docker will provide to your some-app container some useful environment variables with informations about Hornet address :
HORNET_PORT_8187_TCP_ADDR : IP address of the containerHORNET_PORT_8187_TCP_PORT : port number for Hornet8187 : default port for Hornet6379 : default port for Redis (from its Dockerfile)Supervisor provides logs for Hornet and Redis.
These logs are in the directory /var/log/supervisor.
Share it with your Docker host by mounting it as a volume :
$ docker run --name some-hornet -p 8187:8187 -v /path/from/host:/var/log/supervisor -d hornet
Content type
Image
Digest
sha256:e4f3084b5…
Size
68.2 MB
Last updated
about 11 years ago
docker pull nectify/hornet