Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


0

Angel Rodriguez

--Angel Rodriguez--
1146
|213
Miami, FL, United States
--Angel Rodriguez--


Angel Rodriguez
On10/31/15, 8:07 PM

docker-openfire

Docker container for openfire with starkweb client include.

"Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance."

Install dependencies

To install docker in Ubuntu 14.04 use the commands:

    $ sudo apt-get update

    $ wget -qO- https://get.docker.com/ | sh

To install docker in other operating systems check docker online documentation

Usage

If you need a MySQL database you can link container :

    $ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -e MYSQL_DATABASE=openfire \

-e MYSQL_USER=openfireuser -e MYSQL_PASSWORD=openfirepasswd -d mysql

 In case you want to used pre-existing mysql container , you can add the new database by connecting to it with docker exec -it some-mysql bash and manual adding openfire database or you can link and used quantumobject/docker-mywebsql to create database openfire with user openfireuser plus need to grant all permision of this user to the database.

Them link and run the openfire container:

    $ docker run -d -p 9090:9090 -p 5222:5222 -p 5269:5269 \

-p 5223:5223 -p 7443:7443 -p 7777:7777 -p 7070:7070 -p 5229:5229 -p 5275:5275 \

--link some-mysql:db quantumobject/docker-openfire

or to be able to used with plugins for Jitsi Meet :

    $ docker run -d -p 9090:9090 -p 7443:7443 -p 7777:7777 -p 7070:7070 \

-p 5000-6000:5000-6000/tcp -p 5000-6000:5000-6000/udp \

--link some-mysql:db quantumobject/docker-openfire

where when been ask for database need to replace localhost for db.

Accessing the openfire applications:

After that check with your browser at addresses plus the port assigined by docker or you:

  • http://host_ip:9090/    

 where MySQL user will be openfireuser with password for the database openfire at db , then need to add email and password for admin account.

When done configuring OpenFire and adding some users you can use the internal web client :

  • ** http://host_ip:9090/sparkweb/ **

To access the container from the server that the container is running :

    $ docker exec -it container_id /bin/bash

note: -p 5000-6000:5000-6000/tcp -p 5000-6000:5000-6000/udp this only needed if you going to used plugins for Openfire Meetings.

More Info

About openfire: www.igniterealtime.org/projects/openfire/index.jsp

To help improve this container docker-openfire

Example of this docker-openfire

For additional info about us and our projects check our site www.quantumobject.com

  • Flag

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, justuse the commenting tool. Please remember that you can alwaysrevise your answers - no need to answer the same question twice. Also, pleasedon't forget to vote - it really helps to select the best questions and answers!

Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 10/31/15, 8:00 PM
Seen: 974 times
Last updated: 10/31/15, 8:07 PM