https://tracker.air-stream.org/ticket/814
Sam Burney authored
7f58b750

AS IRC

Runtime configurations for the Air-Stream IRC Network.

Instructions

You will need docker https://www.docker.com/ to run this package. Install from the most appropriate package repository for your distro, or use the universal installer at https://get.docker.com/

You will also need docker-compose https://docs.docker.com/compose/install/.

$ docker --version
Docker version 17.03.1-ce, build c6d412e
$ docker-compose --version
docker-compose version 1.8.0, build f3628c7

Ensure the AS root certificate is installed on your host OS. Then restart the docker service.

# wget http://www.air-stream.org/files/air-stream-root-cert-2027.crt

# Debian:
# mv air-stream-root-cert-2027.crt /usr/local/share/ca-certificates
# update-ca-trust

# RHEL/Centos
# mv air-stream-root-cert-2027.crt /etc/pki/ca-trust/source/anchors
# update-ca-certificates

# service docker restart

Clone this repo into a working dir e.g. irc.

$ git clone git@git.walker.wan:hat/as-irc.git irc

Ensure the correct config files and certificates are available for your host under conf/inspircd. In this example our hostname is irc.yourdc.wan. Note the certificate, private key, link config and server config.

$ find conf -name irc.yourdc.wan*
conf/inspircd/certs/irc.yourdc.wan.crt
conf/inspircd/certs/irc.yourdc.wan.key
conf/inspircd/links/irc.yourdc.wan.conf
conf/inspircd/servers/irc.yourdc.wan.conf

Edit the SERVERHOSTNAME environment variable in docker-compose.yml to match the hostname of your IRC server.

services:
  irc:
    ...
    environment:
      - SERVERHOSTNAME=irc.yourdc.wan
    ...

Start your server with the up command.

$ docker-compose up -d

View the running server output with the logs command.

$ docker-compose logs -f

To shutdown your server issue the down command.

$ docker-compose down

Created for Air-Stream Wireless Inc.

© 2016 Troy Vodopivec hat@air-stream.org