Update docs to remove numeric suffix

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2014-08-08 11:00:10 -07:00
commit 59e31ff544
7 changed files with 14 additions and 14 deletions

View file

@ -39,7 +39,7 @@ command: bundle exec thin -p 3000
<a name="links"></a>
### links
Link to containers in another service. Optionally specify an alternate name for the link, which will determine how environment variables are prefixed, e.g. `db` -> `DB_1_PORT`, `db:database` -> `DATABASE_PORT`
Link to containers in another service. Either specify both the service name and the link alias (`SERVICE:ALIAS`), or just the service name (which will also be used for the alias).
```
links:
@ -51,9 +51,9 @@ links:
An entry with the alias' name will be created in `/etc/hosts` inside containers for this service, e.g:
```
172.17.2.186 db_1
172.17.2.186 db
172.17.2.186 database
172.17.2.187 redis_1
172.17.2.187 redis
```
Environment variables will also be created - see the [environment variable reference](env.html) for details.