You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -50,11 +50,13 @@ set :docker_compose_user, '<username>'
50
50
# Define port range in respect to load balancer on server
51
51
# If 2 or more environments reside on same server, configure port range as per environment
52
52
# Ruby's Range object is expected, see http://ruby-doc.org/core-2.3.0/Range.html
53
-
# Example: set :docker_compose_port_range, 2070..2080
53
+
# Example: set :docker_compose_port_range, 2070..2071
54
54
set :docker_compose_port_range, <port>..<port>
55
55
```
56
56
57
-
Configure load balancer on server using port range defined in `docker_compose_port_range`.
57
+
Configure load balancer with port range defined in `docker_compose_port_range`, see [example configuration](https://github.com/interactive-pioneers/capistrano-docker-compose/blob/master/haproxy.example.cfg).
58
+
59
+
NB! Ensure load balancer's HTTP health check uses Layer 7 and corresponds to the needs of the particular application.
0 commit comments