Browse Source

added biboumi

Dominik 2 years ago
parent
commit
ccdeffe725
1 changed files with 30 additions and 0 deletions
  1. 30 0
      docker-compose.yml

+ 30 - 0
docker-compose.yml

@@ -51,7 +51,37 @@ services:
 
     networks:
       - reverse-proxy_default
+      - irc
+
+  biboumi:
+    image: louiz/biboumi:9.0
+    container_name: ejabberd_biboumi
+    mem_limit: 200m
+    restart: on-failure:3
+
+    ports:
+      - 113:8113  #identd, used by irc servers to differentiate user coming from one host#
+
+    depends_on:
+      - ejabberd
+
+    volumes:
+      - ./data/biboumi/database/:/var/lib/biboumi/
+      - ./data/biboumi/ca-bundle.crt:/etc/ssl/certs/ca-bundle.crt
+
+    environment:
+      BIBOUMI_HOSTNAME: irc.${HOSTNAME}
+      BIBOUMI_PORT: 5347
+      BIBOUMI_PASSWORD: secret
+      BIBOUMI_XMPP_SERVER_IP: ejabberd 
+      BIBOUMI_ADMIN: ircadmin@${HOSTNAME}
+      BIBOUMI_IDENTD_PORT: 8113 ## the biboumi has not the privilege to open port 113 directly
+      BIBOUMI_log_level: 1 ## disable logging of chat messages
+
+    networks:
+      - irc
 
 networks:
   reverse-proxy_default:
     external: true
+  irc: