Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit fa159d1

Browse files
author
Feng Honglin
committed
update README; close #59; close #65
1 parent ddb7776 commit fa159d1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ reconfigures itself when a linked cluster member redeploys, joins or leaves.
66

77
## Version
88

9-
- latest: `dockercloud/haproxy:1.2.1`
9+
The availabe version can be found here: https://hub.docker.com/r/dockercloud/haproxy/tags/
10+
- `lasest` is buit againt master brach
11+
- `staging` is built againt staging branch
12+
- `x.x.x` is built againt git tags on github
1013

11-
**Attention** : Please *ALWAYS* use a specific image tag that works for you. Do *NOT* use `dockercloud/haproxy:latest` in any situation other than testing purpose.
14+
**Attention** : Please **ALWAYS** use a specific image tag that works for you. **DO NOT** use `dockercloud/haproxy:latest` in any situation other than testing purpose.
1215

1316
## Usage
1417

@@ -86,6 +89,7 @@ Similar to using legacy links, here list some differences that you need to notic
8689
- A link is required in order to ensure that dockercloud/haproxy is aware of which service it needs to balance, although links are not needed for service discovery since docker 1.10. Linked aliases are not required.
8790
- DO not overwrite `HOSTNAME` environment variable in `dockercloud/haproxy container`.
8891
- As it is the case on Docker Cloud, auto reconfiguration is supported when the linked services scales or/and the linked container starts/stops.
92+
- The container name is maintained by docker-compose, and used for service discovery as well. Please **DO NOT** change `container_name` of the linked service in the compose file to a non-standard name. Otherwise, that service will be ignored.
8993

9094
##### example of docker-compose.yml running on Linux or Docker for Mac (beta):
9195

0 commit comments

Comments
 (0)