<commit_before># docker-ipsilon
This repository contains everything needed to build a Docker image for
running the Ipsilon identity provider in a Docker container.

The Ipsilon image is based on the FreeIPA client (adelton/freeipa-client)
docker image, which requires a FreeIPA server.  This allows Ipsilon to be
configured for Kerberos authentication.

# Building the image
To build the Ipsilon docker image, simply run the following in the root
of this repository:

    docker build -t ipsilon .

Ipsilon is still in early development, so the image currently uses regularly
produced developer builds of Ipsilon from Copr.  Fedora 21 is currently used,
but this will be expanded to include other platforms as Ipsilon matures.

# Using the image
The easiest way to quickly set up an Ipsilon container is to create a FreeIPA
server container and link it to an Ipsilon container.  This can be done like
so:

    docker run --name freeipa-server -d -h ipa.example.test -e PASSWORD=<<PASSWORD>> --cap-add=SYS_TIME adelton/freeipa-server:fedora-21
    docker logs -f freeipa-server

You will need to wait until the FreeIPA server configuration is complete
before creating the Ipsilon container.  You can track the progress by using
the "docker logs" command shown above.  When the FreeIPA server configuration
is complete, create the Ipsilon container as follows:

    docker run --name ipsilon -h ipsilon.example.test --link freeipa-server:ipa -e PASSWORD=<<PASSWORD>> ipsilon

If you want to expose the Ipsilon service on your actual network, you will want
to map port 443 to your container host system.  In addition, you will want to
register a reachable IP address for the Ipsilon container in the FreeIPA DNS
server.  This can be accomplished by adding the following options to your
'docker run' command:

    -p 443:443 -e IPSILON_IP_ADDRESS=<ip address>

The FreeIPA server should also use Fedora 21, as the FreeIPA admin commands
used when installing Ipsilon need to match the FreeIPA server version to work
properly.

Ipsilon will be configured for both Kerberos and forms-based authentication,
and the FreeIPA admin user will be set up as the admin of Ipsilon.

If you are using your FreeIPA server container for DNS, Ipsilon will be
available at the following URL:

    https://ipsilon.example.test/idp

# Additional Info
* Ipsilon Project - https://fedorahosted.org/ipsilon/
* FreeIPA Project - http://www.freeipa.org/
* FreeIPA Client Container - https://registry.hub.docker.com/u/adelton/freeipa-client/<commit_msg>Change README example to use detached run mode<commit_after># docker-ipsilon
This repository contains everything needed to build a Docker image for
running the Ipsilon identity provider in a Docker container.

The Ipsilon image is based on the FreeIPA client (adelton/freeipa-client)
docker image, which requires a FreeIPA server.  This allows Ipsilon to be
configured for Kerberos authentication.

# Building the image
To build the Ipsilon docker image, simply run the following in the root
of this repository:

    docker build -t ipsilon .

Ipsilon is still in early development, so the image currently uses regularly
produced developer builds of Ipsilon from Copr.  Fedora 21 is currently used,
but this will be expanded to include other platforms as Ipsilon matures.

# Using the image
The easiest way to quickly set up an Ipsilon container is to create a FreeIPA
server container and link it to an Ipsilon container.  This can be done like
so:

    docker run --name freeipa-server -d -h ipa.example.test -e PASSWORD=<<PASSWORD>> --cap-add=SYS_TIME adelton/freeipa-server:fedora-21
    docker logs -f freeipa-server

You will need to wait until the FreeIPA server configuration is complete
before creating the Ipsilon container.  You can track the progress by using
the "docker logs" command shown above.  When the FreeIPA server configuration
is complete, create the Ipsilon container as follows:

    docker run --name ipsilon -d -h ipsilon.example.test --link freeipa-server:ipa -e PASSWORD=<<PASSWORD>> ipsilon

If you want to expose the Ipsilon service on your actual network, you will want
to map port 443 to your container host system.  In addition, you will want to
register a reachable IP address for the Ipsilon container in the FreeIPA DNS
server.  This can be accomplished by adding the following options to your
'docker run' command:

    -p 443:443 -e IPSILON_IP_ADDRESS=<ip address>

The FreeIPA server should also use Fedora 21, as the FreeIPA admin commands
used when installing Ipsilon need to match the FreeIPA server version to work
properly.

Ipsilon will be configured for both Kerberos and forms-based authentication,
and the FreeIPA admin user will be set up as the admin of Ipsilon.

If you are using your FreeIPA server container for DNS, Ipsilon will be
available at the following URL:

    https://ipsilon.example.test/idp

# Additional Info
* Ipsilon Project - https://fedorahosted.org/ipsilon/
* FreeIPA Project - http://www.freeipa.org/
* FreeIPA Client Container - https://registry.hub.docker.com/u/adelton/freeipa-client/
{'fraction_non_alphanumeric': 0.0493705743509048, 'fraction_numerical': 0.005900865460267506, 'mean_word_length': 4.2207392197125255, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '3034832', 'n_tokens_mistral': 1422, 'n_tokens_neox': 1358, 'n_words': 715}