Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial for a working matteircd example using docker images #38

Closed
tuxdna opened this issue Mar 18, 2016 · 7 comments
Closed

Tutorial for a working matteircd example using docker images #38

tuxdna opened this issue Mar 18, 2016 · 7 comments

Comments

@tuxdna
Copy link

tuxdna commented Mar 18, 2016

I used Docker images on a Fedora 23 x64 machine:

docker pull mattermost/platform
docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform

Visit the address http://localhost:8065/ then

  • create an account [email protected] ( user hello , and password hello ),
  • and also an organization named temporary
docker run -d -p 6667:6667 --name ircd xyproto/matterircd -mmserver localhost -mmteam temporary -interface 0.0.0.0

Then opened IRC client ( e.g. xchat ), and in an new server tab and enter:

/server localhost

This connecs to the matterircd IRC server, and login:

/msg mattermost login hello hello
LOGIN hello@localhost hello

Next step fails:

/j #town-square for which I get Cannot join join (Channel is invite only)

This seems to connect and refuse, but not yet fully working.

I think there needs to be a working demo example using Docker images. That will enable someone to evaluate IRC integration.

@42wim
Copy link
Owner

42wim commented Mar 18, 2016

Mattermost is a fast-moving target lots of internal changes that breaks older versions of matterircd.
The matterircd docker image also doesn't seem to be up to date.

But you can get it running if you fix your setup.

  • Mattermost must run on port 80 (if using http), or 443 (if using https), matterircd has no support for other ports yet. And you must specify version 2.0

docker run --name mattermost-dev -d --publish 80:80 mattermost/platform:2.0

  • Because you're running http you need the -mminsecure parameter. Also the -mmserver is not localhost because that will try to connect to the inside of the docker container. You'll need to specify to ip address of your docker host. So change -mmserver 1.2.3.4 to your ip. Also specify -debug so you can get more information what went wrong.

docker run -d -p 6667:6667 --name ircd xyproto/matterircd -mmserver 1.2.3.4 -mmteam temporary -interface 0.0.0.0 -mminsecure -debug

If you follow this, it should work.

Any tutorial, maybe by combining your and mine posts is welcome :-)

@42wim 42wim mentioned this issue Mar 20, 2016
@maxandersen
Copy link

@tuxdna
Copy link
Author

tuxdna commented Mar 21, 2016

@maxandersen +1

@tuxdna
Copy link
Author

tuxdna commented Mar 21, 2016

The tutorial from @maxandersen works! I think we can close this issue now.

@42wim
Copy link
Owner

42wim commented Mar 21, 2016

@maxandersen Would you mind adding your information to https://github.com/42wim/matterircd/wiki ?

@maxandersen
Copy link

did a quick'n'dirty copy/paste of the info.

@42wim
Copy link
Owner

42wim commented Mar 24, 2016

Thanks!

@42wim 42wim closed this as completed Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants