Sign inSign up

lex241080/openfire

By lex241080

•Updated almost 2 years ago

XMPP Server

Image
0

299

lex241080/openfire repository overview

Openfire XMPP Server (https://www.igniterealtime.org/projects/openfire/⁠)

Small docker image Openfire XMPP Server based on alpine. To build image use command:

docker build -t openfire .

After building the image, run the container with the command:

docker run -d --name=<container-name> -e TZ=<Time/Zone> -p port:port openfire

Ports used by the container: 5222, 5223, 5262, 5263, 5269, 5270, 5275, 5276, 7070, 7443, 7777, 9090, 9091

See docker-compose.yaml file for an example of running a container using the backend MySQL database.

docker-compose.yaml

version: '3.5'

services:
db:
  image: mariadb
  restart: always
  command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
  volumes:
    - ./db:/var/lib/mysql
  environment:
    - MYSQL_ROOT_PASSWORD=0
    - MYSQL_PASSWORD=0
    - MYSQL_DATABASE=openfire
    - MYSQL_USER=openfire

app:
  image: lex241080/openfire
  restart: always
  volumes:
    - ./conf:/opt/openfire/conf
    - ./plugins:/opt/openfire/plugins
  ports:
    - 5222:5222
    - 5223:5223
    - 5262:5262
    - 5263:5263
    - 5269:5269
    - 5270:5270
    - 5275:5275
    - 5276:5276
    - 7070:7070
    - 7443:7443
    - 7777:7777
    - 9090:9090
  links:
    - db

Tag summary

Content type

Image

Digest

sha256:50a34435d…

Size

194.5 MB

Last updated

almost 2 years ago

docker pull lex241080/openfire