Document link aliases

This commit is contained in:
Aanand Prasad 2014-03-03 17:58:35 +00:00
parent b0ac88fd06
commit be1ba818e4
1 changed files with 4 additions and 1 deletions

View File

@ -24,9 +24,12 @@ build: /path/to/build/dir
-- Override the default command.
command: bundle exec thin -p 3000
-- Link to containers in another service
-- 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_1_PORT
links:
- db
- db:database
- redis
-- Expose ports. Either specify both ports (HOST:CONTAINER), or just the