How to work with services in Docker

Installing services in Docker containers

With Roxy-WI you can easily install HAProxy and Nginx in Docker containers since 5.3.0 version. Go to the Servers page and Click on the Proxy Installation button. In the installation menu select the checkbox "Install as a Docker container" for HAProxy, Nginx or for both and click on the Install button.


By default the containers for HAProxy and Nginx have the same names (haproxy and nginx respectively). If you need to change the name, go to the Settings page and change the value of haproxy_container_name (or nginx_container_name).

The settings for containerized services are stored in configuration files on the server (/etc/haproxy/ and /etc/nginx/conf.d). If you need to change the default paths, change the values of haproxy_dir and nginx_dir parameters on the Settings page.

Managing services in containers

Roxy-WI allows managing containerized HAProxy and Nginx via the graphical interface since 5.3.0 version. If you run HAProxy in a Docker container, go to HAProxy => Overview page. You should see the list of the variable HAProxy server appear on the screen. Each server is represented by a card as it is shown on the screenshot below:


Click on the three_lines sign in the upper right corner of the card. Select the Dockerized HAProxy checkbox in the window that will open and press the Save button.

For Nginx the procedure is quite the same: go to the Nginx => Overview page, select the card of the server and check the Dockerized Nginx checkbox.

Go to TOP

Was this article helpful?

Yes, thanks!
Not really
Go back