diff --git a/README.md b/README.md index 4e093c1..d116825 100644 --- a/README.md +++ b/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: ``` +docker network create -d bridge default-kassoubot && \ docker run -d \ --name="Lavalink" \ + -p 2333:2333 \ + --network="default-kassoubot" \ + --restart=unless-stopped \ registry.gitlab.com/confreriedukassoulait/lavalink:latest \ lavalink \ - -p 2333:2333 \ - --network="default" \ - --restart=unless-stopped \ && \ docker run -d \ --name="KassouBot" \ - registry.gitlab.com/confreriedukassoulait/kassoubot \ - --TOKEN_DISCORD="yourTokenDiscord" \ - --TOKEN_GENIUS="yourTokenGenius" \ - --TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \ - --TOKEN_REDDIT_CLIENT_SECRET="yourRedditClientSecret" \ - --TOKEN_REDDIT_USER_AGENT="yourRedditUserAgent" \ - --TIMEZONE="yourTimezone" \ - --PREFIX="yourPrefix" \ + -e TOKEN_DISCORD="yourTokenDiscord" \ + -e TOKEN_GENIUS="yourTokenGenius" \ + -e TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \ + -e TOKEN_REDDIT_CLIENT_SECRET="yourRedditClientSecret" \ + -e TOKEN_REDDIT_USER_AGENT="yourRedditUserAgent" \ + -e TIMEZONE="yourTimezone" \ + -e PREFIX="yourPrefix" \ -v /here/your/path/:/opt/db \ - --network="default" \ + --network="default-kassoubot" \ --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).