-
Hi, I start an ejabberd container and register the admin user (following instructions here: https://hub.docker.com/r/ejabberd/ecs/ ). Actually, I'm splitting this into 2 steps to avoid exposing login credentials in the hosts history:
After Also I added The
Any ideas what might be the issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When ejabberd is started with an empty mnesia database directory, ejabberd creates the tables. If you start with "docker-compose up", you would see many like this:
Maybe your database volume is removed?
Check the mnesia spool files still exist in the database volume after you "docker-compose down". In my case it's:
So, when you "up" again, the volume should be reused, and ejabberd should not recreate the mnesia database:
|
Beta Was this translation helpful? Give feedback.
-
Presumably, the volume is still there, but with every
I suppose, I should set Edit: Adding a hostname in
Found the solution here: processone/docker-ejabberd#27 Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Presumably, the volume is still there, but with every
docker-compose up
a new random nodename is created. This is in my database volume:I suppose, I should set
ERLANG_NODE=...
somewhere. Is that a valid variable fordocker-compose.yml
? I can't find any documentation f…