Docker HAProxy with DeviceAtlas is a dockerized version of HAProxy with DeviceAtlas for device detection on the web. The detailed information on how to compile and use DeviceAtlas HAProxy module is available here.
-
Download HAProxy module of DeviceAtlas API & Data from their official site.
-
Copy/Save the DeviceAtlas API & Data files into docker-haproxy-deviceatlas directory for building Docker image.
$ docker build -t haproxy-deviceatlas .
$ docker run -d --name haproxy-da -v /path/to/haproxy/config:/usr/local/etc/haproxy/config:ro haproxy-deviceatlas
You will also need to publish the ports where your HAProxy is listening on to the host by specifying the -p
option, for example -p 8080:80
to publish port 8080 of the container host to port 80 in the container.
To be able to reload HAProxy configuration, you can send SIGHUP
to the container:
$ docker kill -s HUP haproxy-da
View license information for the software contained in this image.
View DeviceAtlas license information.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).