Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Run this ngIRCd image with:

$ docker run -d --name ngircd-0 --hostname irc.example.net \
>   -e DESCRIPTION="My IRC server" \
>   -e LOCATION="My attic" \
>   -e EMAIL="[email protected]" \
>   -e INFO="testing, testing" \
>   -p 6667:6667 wking/ngircd

For SSL / TLS, set the SSL environment variable to yes or optional and volume-mount your keys under the container's /etc/ngircd/ssl/:

$ docker run -d --name ngircd-0 --hostname irc.example.net \
>   …
>   -e SSL=yes \
>   -v /etc/ssl/ngircd-0:/etc/ngircd/ssl \
>   -p 6697:6697 wking/ngircd

You'll need at least server-cert.pem and server-key.pem in that directory. If you're using DH or DSA keys, you'll also want dhparams.pem with Diffie–Hellman parameters; you can manage the file with OpenSSH's dhparam). If you don't want to require SSL, set SSL to optional and expose both the encrypted port and the unencrypted port:

$ docker run -d --name ngircd-0 --hostname irc.example.net \
>   …
>   -e SSL=optional \
>   -v /etc/ssl/ngircd-0:/etc/ngircd/ssl \
>   -p 6667:6667 -p 6697:6697 wking/ngircd

You can optionally set a GLOBAL_PASSWORD environment variable to require a global password for all client connections, although the password length is limited to 20 characters since ngIRCd v0.9.