Update README.md, changed to ghcr.io registry

This commit is contained in:
yojoshb 2023-05-14 22:03:06 -05:00 committed by GitHub
parent 926549c645
commit 8ab0213c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
# JMusicBot Docker # JMusicBot Docker
[![Release](https://img.shields.io/github/release/jagrosh/MusicBot?color=g&style=for-the-badge)](https://github.com/jagrosh/MusicBot/releases/latest) [![Release](https://img.shields.io/github/release/jagrosh/MusicBot?color=g&style=for-the-badge)](https://github.com/jagrosh/MusicBot/releases/latest)
[![Docker Pulls](https://img.shields.io/docker/pulls/yojoshb/jmusicbot?color=blue&style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot) [![Docker Hub Pulls](https://img.shields.io/docker/pulls/yojoshb/jmusicbot?color=blue&style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot)
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yojoshb/jmusicbot/latest?color=blueviolet&style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot) [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yojoshb/jmusicbot/latest?color=blueviolet&style=for-the-badge)](https://hub.docker.com/r/yojoshb/jmusicbot)
Docker container for [JMusicBot](https://github.com/jagrosh/MusicBot). This uses the latest Minideb image for a small footprint. Docker container for the latest version [JMusicBot](https://github.com/jagrosh/MusicBot)
## Usage ## Usage
Place your **config.txt**, **Playlists** folder, and **serversettings.json** file (if you have one) in `yourpath/toconfig` to map it to the container. If you need to access the container you can hop into it and get a shell using: Place your **config.txt**, **Playlists** folder, and **serversettings.json** file (if you have one) in `yourpath/toconfig` to map it to the container. If you need to access the container you can hop into it and get a shell using:
@ -20,17 +20,17 @@ docker run -dit \
--name=jmusicbot \ --name=jmusicbot \
-v /yourpath/toconfig:/config \ -v /yourpath/toconfig:/config \
--restart=unless-stopped \ --restart=unless-stopped \
yojoshb/jmusicbot ghcr.io/yojoshb/jmusicbot-docker
``` ```
### Docker Compose ### Docker Compose
```bash ```bash
--- ---
version: "2" version: "3"
services: services:
jmusicbot: jmusicbot:
image: yojoshb/jmusicbot image: ghcr.io/yojoshb/jmusicbot-docker
container_name: jmusicbot container_name: jmusicbot
volumes: volumes:
- /yourpath/toconfig:/config - /yourpath/toconfig:/config