-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
I'm using this docker image and trying to cluster 2 nodes that are on different servers, therefore 2 different public IPs.
Just for testing, I successfully clustered 2 docker containers that are on the same machine.
However, when I try to define a FQDN in ERLANG_NODE_ARG, I get an error that I don't know how to overcome.
This container starts without errors (I'm skipping unrelated lines):
services:
ej1container:
hostname: ej1container # containername works here too
environment:
- ERLANG_NODE_ARG=ej1@ej1container
This setup gives me an error
services:
ej1container:
hostname: ej1container # containername works here too
environment:
- [email protected]
It looks like the container starts normally but when I do
docker exec ej1container ejabberdctl status
I get
Failed RPC connection to the node '[email protected]': nodedown
I already pointed the A record of subdomain.domain.com to the public IP of the VPS where this is running.
There was a similar issue #106 but I don't see how the FQDN was integrated and what the solution was.
Any help would be much appreciated.
Metadata
Metadata
Assignees
Labels
No labels