Public | Automated Build

Last pushed: 7 months ago
Short Description
Docker container for OpenFire (XMPP/Jabber Server) with StarkWeb client include.
Full Description


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 16.04 use the commands:

$ sudo apt-get update
$ sudo wget -qO- | 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:

More Info

About openfire:

To help improve this container docker-openfire

For additional info about us and our projects check our site

Docker Pull Command
Source Repository