fix docker run command
This commit is contained in:
parent
b686b057cd
commit
2652787642
1 changed files with 13 additions and 12 deletions
25
README.md
25
README.md
|
@ -8,27 +8,28 @@ You have to replace `TOKEN_DISCORD`, `PREFIX`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLI
|
||||||
|
|
||||||
With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/docker-compose.yml) or in command line:
|
With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/docker-compose.yml) or in command line:
|
||||||
```
|
```
|
||||||
|
docker network create -d bridge default-kassoubot && \
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name="Lavalink" \
|
--name="Lavalink" \
|
||||||
|
-p 2333:2333 \
|
||||||
|
--network="default-kassoubot" \
|
||||||
|
--restart=unless-stopped \
|
||||||
registry.gitlab.com/confreriedukassoulait/lavalink:latest \
|
registry.gitlab.com/confreriedukassoulait/lavalink:latest \
|
||||||
lavalink \
|
lavalink \
|
||||||
-p 2333:2333 \
|
|
||||||
--network="default" \
|
|
||||||
--restart=unless-stopped \
|
|
||||||
&& \
|
&& \
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name="KassouBot" \
|
--name="KassouBot" \
|
||||||
registry.gitlab.com/confreriedukassoulait/kassoubot \
|
-e TOKEN_DISCORD="yourTokenDiscord" \
|
||||||
--TOKEN_DISCORD="yourTokenDiscord" \
|
-e TOKEN_GENIUS="yourTokenGenius" \
|
||||||
--TOKEN_GENIUS="yourTokenGenius" \
|
-e TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \
|
||||||
--TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \
|
-e TOKEN_REDDIT_CLIENT_SECRET="yourRedditClientSecret" \
|
||||||
--TOKEN_REDDIT_CLIENT_SECRET="yourRedditClientSecret" \
|
-e TOKEN_REDDIT_USER_AGENT="yourRedditUserAgent" \
|
||||||
--TOKEN_REDDIT_USER_AGENT="yourRedditUserAgent" \
|
-e TIMEZONE="yourTimezone" \
|
||||||
--TIMEZONE="yourTimezone" \
|
-e PREFIX="yourPrefix" \
|
||||||
--PREFIX="yourPrefix" \
|
|
||||||
-v /here/your/path/:/opt/db \
|
-v /here/your/path/:/opt/db \
|
||||||
--network="default" \
|
--network="default-kassoubot" \
|
||||||
--restart=unless-stopped
|
--restart=unless-stopped
|
||||||
|
registry.gitlab.com/confreriedukassoulait/kassoubot \
|
||||||
```
|
```
|
||||||
|
|
||||||
You shouldn't change at least the service name of the Lavalink container because the bot is using his DNS name (and it's based on the service's name).
|
You shouldn't change at least the service name of the Lavalink container because the bot is using his DNS name (and it's based on the service's name).
|
||||||
|
|
Reference in a new issue