ppikula / mongooseim-docker Goto Github PK
View Code? Open in Web Editor NEWDockerized MongooseIM 1.5
Home Page: http://github.com/esl/MongooseIM
License: Apache License 2.0
Dockerized MongooseIM 1.5
Home Page: http://github.com/esl/MongooseIM
License: Apache License 2.0
Hello,
Is there any way to compile and include an ejabberd module to forward offline messages to a http host?
Modules like mod_interact, mod_http_offline and so on.
I tried to compile and include it in the modules folder and it doesn't work.
Thanks.
When running
docker run mongooseim/mongooseim-docker
MongooseIM dies with the following output:
Exec: /usr/lib/mongooseim/erts-6.0/bin/erlexec -boot /usr/lib/mongooseim/releases//mongooseim -embedded -config /usr/lib/mongooseim/etc/app.config -args_file /usr/lib/mongooseim/etc/vm.args -- console
Root: /usr/lib/mongooseim
2015-02-08 11:48:16.615 [info] <0.7.0> Application lager started on node mongooseim@localhost
2015-02-08 11:48:16.618 [info] <0.7.0> Application ranch started on node mongooseim@localhost
2015-02-08 11:48:16.705 [info] <0.7.0> Application mnesia started on node mongooseim@localhost
2015-02-08 11:48:16.706 [info] <0.7.0> Application asn1 started on node mongooseim@localhost
2015-02-08 11:48:16.706 [info] <0.7.0> Application public_key started on node mongooseim@localhost
2015-02-08 11:48:16.727 [info] <0.7.0> Application sasl started on node mongooseim@localhost
2015-02-08 11:48:16.743 [info] <0.7.0> Application ssl started on node mongooseim@localhost
2015-02-08 11:48:16.751 [info] <0.7.0> Application p1_stringprep started on node mongooseim@localhost
2015-02-08 11:48:16.787 [info] <0.7.0> Application inets started on node mongooseim@localhost
2015-02-08 11:48:16.787 [info] <0.7.0> Application exml started on node mongooseim@localhost
2015-02-08 11:48:16.788 [info] <0.7.0> Application cowlib started on node mongooseim@localhost
2015-02-08 11:48:16.797 [info] <0.7.0> Application cowboy started on node mongooseim@localhost
2015-02-08 11:48:16.807 [notice] <0.50.0>@lager_file_backend:128 Changed loglevel of log/ejabberd.log to info
2015-02-08 11:48:16.838 [info] <0.7.0> Application mnesia exited with reason: stopped
Eshell V6.0 (abort with ^G)
(mongooseim@localhost)1> *** Terminating erlang (mongooseim@localhost)
No other command (live, start, nor debug) seem to work either. I suspect that erlang rejects the fake shell docker gives it. How did you make it work?
Created mim1 with:
sudo docker run -d -t -h mim1 --name mim1 mongooseim/mongooseim-docker
success
Created mim2 with:
sudo docker run -d -t -h mim2 --name mim2 --link mim1:mim1 -e CLUSTER_WITH=mim1 mongooseim/mongooseim-docker
Created mim3 with:
sudo docker run -d -t -h mim3 --name mim3 --link mim1:mim1 -e CLUSTER_WITH=mim1 mongooseim/mongooseim-docker
All container up but when I go to Bash of mim1 with command:
sudo docker exec -it mim1 bash
and run:
mongooseimctl mnesia info | grep "running db nodes"
I can just see mim1 and mim2 but no sign of mim3 at connected node list. I am trying these at Virtualbox - Ubuntu 16.04 - network host or NAT or completely on AWS platform, no change. Cannot add mim3
One point I can catch from several trials is; when I run below command at all containers; I can see port number is 9100 on mim1 & mim2 but randomly defined on mim3, like 43501 or some number like that, don't know why:
net_adm:names().
Hi @ppikula
Thank you for maintaining this Docker image.
I have a question, which would be your strategy to share the same cookie among all the cluster nodes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.