Here is my configuration. I'm trying to link my postgresql container to my 
app container. Everything is running fine, but when I run "env" on my app 
container none of the environment variables for my postgresql container are 
showing up.


Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>   config.vm.define "db" do |app|
>     app.vm.provider "docker" do |d|
>       d.image = "paintedfox/postgresql"
>       d.name = "db"
>       d.ports = ["5432:5432"]
>       d.vagrant_vagrantfile = "./HostVagrantfile"
>     end
>   end
>   config.vm.define "app" do |app|
>     app.vm.provider "docker" do |d|
>       d.build_dir = "."
>       d.has_ssh = true
>       d.link "db:postgresql"
>       d.vagrant_vagrantfile = "./HostVagrantfile"
>     end
>   end
>   config.ssh.username = "root"
>   config.ssh.private_key_path = "phusion.key"
>
> end


-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to