Skip to content

Docker HAProxy with DeviceAtlas is a dockerized version of HAProxy with DeviceAtlas to use device detection.

Notifications You must be signed in to change notification settings

nirmalpathak/docker-haproxy-deviceatlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker HAProxy with DeviceAtlas

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.

Prerequisite

  • 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.

Build the container

$ docker build -t haproxy-deviceatlas .

Run the container

$ 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.

Reloading config

To be able to reload HAProxy configuration, you can send SIGHUP to the container:

$ docker kill -s HUP haproxy-da

License

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).

About

Docker HAProxy with DeviceAtlas is a dockerized version of HAProxy with DeviceAtlas to use device detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published