Skip to content

Docker image: admin user not persistent #3713

Answered by pktl
pktl asked this question in Questions
Discussion options

You must be logged in to vote

Check the mnesia spool files still exist in the database volume after you "docker-compose down".

Presumably, the volume is still there, but with every docker-compose up a new random nodename is created. This is in my database volume:

...
drwxr-sr-x 4 9000 9000  4096 Nov 16 20:56 ejabberd@1e5138ec4eff
drwxr-sr-x 4 9000 9000  4096 Nov 17 20:26 ejabberd@8fe14ffb385b
drwxr-sr-x 4 9000 9000  4096 Nov 16 21:03 ejabberd@bcb14a986921
drwxr-sr-x 4 9000 9000  4096 Nov 16 21:07 ejabberd@efb7640879fb
drwxr-sr-x 4 9000 9000  4096 Nov 16 20:16 ejabberd@f4f3cb50fd3b
...

I suppose, I should set ERLANG_NODE=... somewhere. Is that a valid variable for docker-compose.yml? I can't find any documentation f…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pktl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packaging:Docker Docker image from Docker Hub
2 participants