Closed kbrock closed 5 months ago
The solution to the above problem ends up adding the hostname to rails:
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 760b8323d3..631c30b1e6 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -59,3 +59,5 @@ Vmdb::Application.configure do
# Allow nip.io for development with external auth where hostnames are required
config.hosts << "127.0.0.1.nip.io"
+ # allow docker to connect to this host
+ config.hosts << "host.docker.internal"
end
fixed by #121
Connecting to a server that is not available throws a strange exception:
I was following the example in https://github.com/ManageIQ/workflows-examples/blob/master/provision-vm-service/README.md - local development step 3