the file from /samples/web_only.yml has
# Use 'links' key to link containers together, aka use Docker --link flag.
links:
- link:
name: data
alias: data
In my case the data container is a redis container
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
a27999b28a90 local_discourse/redis "/sbin/boot" 2 days ago Up 20 hours
therefore name: redis and alias: data
According to the Docker docs this is a legacy feature, but its still useable, see Legacy container links | Docker Docs
I now think the better approach would be to create a standard “all in one” setup first (app.yml). And then sql dump the initial schema and data from the container into an external postgres machine. @Falco what do you think?