Giter Site home page Giter Site logo

docker-openfire's Introduction

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

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

  • 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.

note: deploy this container behind proxy with SSL for extra security:

https://github.com/jwilder/nginx-proxy

https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion

More Info

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

docker-openfire's People

Contributors

angelrr7702 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.