From: Guo Xiang Tan Date: Wed, 8 Apr 2015 02:52:28 +0000 (+0800) Subject: Add documentation for links. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8b4382c7aa3a92440f292d7abdd4bce5b29ee405;p=discourse_docker.git Add documentation for links. --- diff --git a/README.md b/README.md index dcc0d29..99730fa 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,17 @@ volumes: Expose a directory inside the host to the container. +#### links: +``` +links: + - link: + name: postgres + alias: postgres +``` + +Links another container to the current container. This will add `--link postgres:postgres` +to the options when running the container. + ### Upgrading Discourse The Docker setup gives you multiple upgrade options: