Updated README

This commit is contained in:
Reiuiji 2016-12-12 01:09:44 -05:00
parent 70afe44035
commit a0e3500d3b

View File

@ -10,13 +10,13 @@ The docker image creates a volume to hold the NadekoBot application to be able t
To initialize NadekoBot, run this: To initialize NadekoBot, run this:
`docker run --name=NadekoBot -t reiuiji/nadeko` `docker run --name=NadekoBot -t reiuiji/nadekobot:stable`
If you want to create a separate volume to handle the data for NadekoBot run the following. If you want to create a separate volume to handle the data for NadekoBot run the following.
```Nadeko_DATA="NadekoBot-data" ```Nadeko_DATA="NadekoBot-data"
docker volume create --name $Nadeko_DATA docker volume create --name $Nadeko_DATA
docker run --name=NadekoBot -v $Nadeko_DATA:/opt -t reiuiji/nadeko docker run --name=NadekoBot -v $Nadeko_DATA:/opt -t reiuiji/nadekobot:stable
``` ```
If you want to link the volumes you can link credentials.json and data individual. If you want to link the volumes you can link credentials.json and data individual.
@ -25,6 +25,10 @@ If you want to link the volumes you can link credentials.json and data individua
`-v /path/to/data:/opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data` `-v /path/to/data:/opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data`
If you want to use the latest developmental version then change tag from "stable" to "dev".
`docker run --name=NadekoBot -t reiuiji/nadekobot:dev`
Build Build
----- -----