I use releases to deploy and run my applications on the same server. I had the brilliant idea of running demo
alongside prod
from the same source code, the only thing that differs is the actual env parameters that are passed in. Good fit for use case.
so far so good, no duplication, the release is done perfect, on startup.
Protocol 'inet_tcp': the name ex@elxsy seems to be in use by another Erlang node
Searching around the ways to rename my release and I found out vm.args
in the mix release, templates and RELEASE_NODE
from ERLANG options.
I have set both the vm template and vm.args
in the release folder and RELEASE_NODE env var in my startup for demo. I was in a throw-it-all-in and get it working mode, not sure which one actually works now!
Bit scared to shut down my main prod instance in case my modifications f’ed something up
How should I sort this out? This was a snap this isn’t working but I got other stuff to do right now kind of thing.