jmusicbot-docker/README.md
2021-09-20 10:50:09 -05:00

32 lines
666 B
Markdown

# jmusicbot-docker
docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Alpine image for a small footprint.
## Usage
### Docker
```bash
docker run -dt \
--name=jmusicbot \
-v /yourpath/toconfig:/config \
--restart=unless-stopped \
yojoshb/jmusicbot
```
Place your config.txt in `yourpath/toconfig` to map it to the container.
---
### Docker Compose
```bash
---
version: "2"
services:
jmusicbot:
image: yojoshb/jmusicbot
container_name: jmusicbot
volumes:
- /yourpath/toconfig:/config
restart: unless-stopped
```
Place your config.txt in `yourpath/toconfig` to map it to the container.