"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."
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
If you need a MySQL database you can link container :
$ docker run --name openfire-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 openfire-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 openfire-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:
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 :
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.
note: deploy this container behind proxy with SSL for extra security:
About openfire: www.igniterealtime.org/projects/openfire/index.jsp
To help improve this container docker-openfire
For additional info about us and our projects check our site www.quantumobject.org
Problem with video conference ... if somebody know how to fix it , let me know ....
Working fine at the moment , let me know of any problem at https://github.com/QuantumObject/docker-openfire
-p 7443:7443 is for plugins for Openfire Meetings(using Jitsi Meet and Jitsi Videobridge ) that need to be added/enable at plugins configuration sections.