From 96390ae273c2c868b36b59d4d3daa10bb6d8218d Mon Sep 17 00:00:00 2001 From: yojoshb <68751897+yojoshb@users.noreply.github.com> Date: Mon, 20 Sep 2021 10:28:14 -0500 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db2bc0c..b55ca4a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,13 @@ docker container for [JMusicBot](https://github.com/jagrosh/MusicBot) ## Usage ### 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. @@ -15,9 +21,9 @@ Place your config.txt in `yourpath/toconfig` to map it to the container. --- version: "2" services: - musicbot: + jmusicbot: image: yojoshb/jmusicbot - container_name: musicbot + container_name: jmusicbot volumes: - /yourpath/toconfig:/config restart: unless-stopped