Update README.md
This commit is contained in:
parent
75907e302e
commit
96390ae273
1 changed files with 9 additions and 3 deletions
12
README.md
12
README.md
|
|
@ -4,7 +4,13 @@ docker container for [JMusicBot](https://github.com/jagrosh/MusicBot)
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
Usage: `docker run -it -v yourpath/toconfig:/config yojoshb/jmusicbot:latest`
|
```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.
|
Place your config.txt in `yourpath/toconfig` to map it to the container.
|
||||||
|
|
||||||
|
|
@ -15,9 +21,9 @@ Place your config.txt in `yourpath/toconfig` to map it to the container.
|
||||||
---
|
---
|
||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
musicbot:
|
jmusicbot:
|
||||||
image: yojoshb/jmusicbot
|
image: yojoshb/jmusicbot
|
||||||
container_name: musicbot
|
container_name: jmusicbot
|
||||||
volumes:
|
volumes:
|
||||||
- /yourpath/toconfig:/config
|
- /yourpath/toconfig:/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue