Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tankos/sopel-docker
Docker config for Sopel IRC bot
https://github.com/tankos/sopel-docker
Last synced: 2 days ago
JSON representation
Docker config for Sopel IRC bot
- Host: GitHub
- URL: https://github.com/tankos/sopel-docker
- Owner: TankOs
- Created: 2016-06-17T09:08:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-17T08:37:26.000Z (almost 8 years ago)
- Last Synced: 2024-11-09T03:52:59.916Z (about 2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sopel IRC bot Docker config
Run the Sopel IRC bot in a Docker container.
## Building
```
docker build -t boxbox/sopel .
```## Running
Create a directory where you want to store the config, log and data files (can
also be a volume container); adjust the name to your likings:```
mkdir /tmp/mybot
```This Docker config does use an unprivileged user in the container for increased
security. Therefore you have to give the ownership to the _sopel_ user:```
chown -R 1000:1000 /tmp/mybot
```Initialize the bot configuration:
```
docker run --rm -it -v /tmp/mybot:/home/sopel/.sopel boxbox/sopel sopel -w
```Create and run the bot:
```
docker run -d --name mybot -v /tmp/mybot:/home/sopel/.sopel boxbox/sopel
```If you want it to autostart, add `--restart=always`.
## Running Sopel commands
You can, at any time, run specific Sopel commands. For example:
```
docker run --rm -it -v ... boxbox/sopel sopel --configure-modules
```