Multiple Container setup
If you would like to connect web-only and data Discourse docker containers.
There is optional setting for this, which is, you could specify a links key in container configuration (yaml file) to link those containers together ( i.e. linking web-only and data container ).
This way is also known as Docker --link flag.
Usage:
If you are trying to link database container to your web container
Add the following section in containers/web.yml
links:
- link:
name: data
alias: db
That will be transformed into --link data:db