mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 20:23:16 +00:00
Update README.md
This commit is contained in:
parent
f2569776df
commit
e6c7a19648
37
README.md
37
README.md
@ -5,8 +5,41 @@ Internet Radio to your Discord guild
|
||||
This bot is using Gitea repo to get radio stations from [playlist.json](https://git.cwinfo.net/cwchristerw/radio/raw/branch/master/playlist.json) file. List is currently maintained by Christer Warén. You can use alternative list with same format when using RADIOX_STATIONSLISTURL environment variable.
|
||||
|
||||
## Docker
|
||||
1. `docker build -t warengroup/eximiabots-radiox . --pull`
|
||||
2. `docker run --name radiox-dev --net host -e DISCORD_TOKEN= -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox`
|
||||
|
||||
### 1. Build Image
|
||||
|
||||
**Production**
|
||||
```
|
||||
docker build -t warengroup/eximiabots-radiox:0.3.20 . --pull
|
||||
```
|
||||
|
||||
**Beta**
|
||||
```
|
||||
docker build -t warengroup/eximiabots-radiox:0.3.20-beta . --pull
|
||||
```
|
||||
|
||||
**Dev**
|
||||
```
|
||||
docker build -t warengroup/eximiabots-radiox:0.3.20-dev . --pull
|
||||
```
|
||||
|
||||
### 2. Run Container
|
||||
|
||||
**Production**
|
||||
```
|
||||
docker run --name radiox --net host -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:0.3.20
|
||||
```
|
||||
|
||||
**Beta**
|
||||
```
|
||||
docker run --name radiox --net host -d -e DISCORD_TOKEN= -e STREAMER_MODE=auto -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox:0.3.20-beta
|
||||
```
|
||||
|
||||
**Dev**
|
||||
```
|
||||
docker run --rm --name radiox-dev --net host -e DISCORD_TOKEN= -e DEV_MODE=true -v "$PWD":/usr/src/app/ warengroup/eximiabots-radiox:0.3.20-dev
|
||||
```
|
||||
|
||||
|
||||
## Join our Discord Server
|
||||
https://discord.gg/rRA65Mn
|
||||
|
Loading…
Reference in New Issue
Block a user