Skip to content

Commit f2c3afa

Browse files
authored
Merge pull request #776 from eggheads/master
Add mount option for scripts directory
2 parents b8d19fa + 06906ee commit f2c3afa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

eggdrop/content.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ After running the eggdrop container for the first time, the configuration file,
2626
$ docker run -i -e NICK=FooBot -e SERVER=irc.freenode.net -v /path/to/eggdrop/files:/home/eggdrop/eggdrop/data -d eggdrop
2727
```
2828

29-
Please note that, even in daemon mode, the -i flag for docker run is required.
29+
Please note that, even in daemon mode, the `-i` flag for `docker run` is required.
30+
31+
## Adding scripts
32+
33+
An easy way to add scripts would be to create a scripts directory on the host and mount it to `/home/eggdrop/eggdrop/data`. This would be accomplished by adding an option similar to
34+
35+
-v /path/to/host/scripts:/home/eggdrop/eggdrop/scripts
36+
37+
to your docker run command line (and of course, don't forget to edit your configuration file to actually load it!)
3038

3139
## Exposing network ports
3240

0 commit comments

Comments
 (0)