<commit_before>irc-bouncer-docker
==================

My IRC bouncer setup consists of two Docker images: kennydo/znc and kennydo/znc-data.

The znc-data image is a `data volume container <https://docs.docker.com/userguide/dockervolumes/#creating-and-mounting-a-data-volume-container>`_ that holds the ``.znc`` directory.

Installation
============

#. Copy your ``znc.pem`` and your ``znc.conf`` files into the `znc-data-image` directory.
#. Run ``make build`` to build the Docker images.
#. Run ``make start`` to start the images.<commit_msg>Updated README with backup instructions<commit_after>irc-bouncer-docker
==================

My IRC bouncer setup consists of two Docker images: kennydo/znc and kennydo/znc-data.

The znc-data image is a `data volume container <https://docs.docker.com/userguide/dockervolumes/#creating-and-mounting-a-data-volume-container>`_ that holds the ``.znc`` directory.

Installation
============

#. Copy your ``znc.pem`` and your ``znc.conf`` files into the `znc-data-image` directory.
#. Run ``make build`` to build the Docker images.
#. Run ``make start`` to start the images.

Backups
=======

Run ``make backup-config`` to backup the ``znc.conf`` file into a ``backups`` directory.

Run ``make backup-data`` to backup the ``.znc/users`` directory into an archive.
{'fraction_non_alphanumeric': 0.17498081350729086, 'fraction_numerical': 0.0, 'mean_word_length': 4.719298245614035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5669808', 'n_tokens_mistral': 431, 'n_tokens_neox': 403, 'n_words': 135}