Skip to content

Commit

Permalink
Merge pull request #632 from eggheads/master
Browse files Browse the repository at this point in the history
Init docs repo for Eggdrop
  • Loading branch information
tianon authored Aug 3, 2016
2 parents 1bd57f8 + 86044ea commit 9679990
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions eggdrop/README-short.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The official Docker image of Eggdrop- IRC's oldest actively-developed bot!
39 changes: 39 additions & 0 deletions eggdrop/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# What is Eggdrop?

Eggdrop is the world's most popular Open Source IRC bot, designed for flexibility and ease of use, and is freely distributable under the GNU General Public License (GPL). It is designed to Linux, BSD, SunOs, Windows, and Mac OS X, among others. The core codebase is extendable via TCL scripts or C modules and bots can be linked to form botnets, enabling the sharing of userfiles and partylines across multiple bots.

%%LOGO%%

# How to use this image

## First Run

To run this container the first time, you'll need to pass in, at minimum, a nickname and server via Environmental Variables. At minimum, a docker run command similar to

docker run -ti -e NICK=FooBot -e SERVER=irc.freenode.net -v /path/for/host/data:/home/eggdrop/eggdrop/data eggdrop:latest

should be used. This will modify the appropriate values within the config file, then start your bot with the nickname FooBot and connect it to irc.freenode.net.

These variables are only needed for your first run- after the first use, you can edit the config file directly.

## Long-term Persistence

After running the eggdrop container for the first time, the configuration file, user file and channel file will all be available inside the container at /home/eggdrop/eggdrop/data/ . NOTE! These files are only as persistent as the container they exist in. If you expect to use a different container over the course of using the Eggdrop docker image (intentionally or not) you will want to create a persistent data store. The easiest way to do this is to mount a directory on your host machine to /home/eggdrop/eggdrop/data. If you do this prior to your first run, you can easily edit the eggdrop configuration file on the host. Otherwise, you can also drop in existing config, user, or channel files into the mounted directory for use in the eggdrop container. You'll also likely want to daemonize eggdrop (ie, run it in the background). To do this, start your container with something similar to

docker run -i -e NICK=FooBot -e SERVER=irc.freenode.net -v /path/to/eggdrop/files:/home/eggdrop/eggdrop/data -d eggdrop:latest

Please note that, even in daemon mode, the -i flag for docker run is required.

## Exposing network ports

If you want to expose network connections for your bot, you'll also want to use the -p flag to expose whichever port you specified in the config as the listen port (default is 3333). For example, to expose port 3333, add

-p 3333:3333

to your docker run command line.

## Troubleshooting / Support

For additional help, you can join the #eggdrop channel on Freenode

The git repository for the Dockerfile is maintained at https://github.com/eggheads/eggdrop-docker
1 change: 1 addition & 0 deletions eggdrop/github-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/eggheads/eggdrop-docker
1 change: 1 addition & 0 deletions eggdrop/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
View [license information](https://www.gnu.org/licenses/gpl-3.0.en.html) for the software contained in this image.
Binary file added eggdrop/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9679990

Please sign in to comment.