Sign inSign up

jcrawfordor/znc

By jcrawfordor

•Updated almost 10 years ago

Alpine-based znc bouncer with auto-building of modules

Image
0

9.6K

jcrawfordor/znc repository overview

⁠znc container

This is an Alpine Linux-based container to run the znc IRC bouncer. Configuration is expected in /data via a host volume and any cpp source files found in the 'modules' subdirectory will be fed to znc-buildmod for building and installation.

The container is set up to expose 45454, but it's trivial to have znc use a different port and it will work fine.

⁠Usage

You can start the container with something like this. The mounted host directory should already contain at least a ZNC configuration file, or you can copy the whole datadir from an existing znc.

docker run -p 45454:45454 -v /srv/znc:/data jcrawfordor/znc

⁠Pros/Cons

⁠Pros
  • Automatic building of modules makes it super easy to add modules.
  • Alpine base results in small image size.
⁠Cons
  • Automatic module building results in slower startup and a larger image (since the image contains sources/build tools)

⁠Acknowledgments

The start-up script is largely lifted from the similar (but Ubuntu-based) verb/znc image.

Tag summary

Content type

Image

Digest

Size

65.6 MB

Last updated

almost 10 years ago

docker pull jcrawfordor/znc