From fc0361a14a26626a6d4a4bb486f147958377acc1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 16 Aug 2021 22:30:52 +0200 Subject: [PATCH] precions on the creation of the network --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3095adc..16b7366 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,20 @@ You have to replace `TOKEN_DISCORD`, `PREFIX`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET`, `TOKEN_REDDIT_USER_AGENT` and [`TIMEZONE`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) with your desired values. You must also specify a path to the folder where the database will be. With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/docker-compose.yml) or in command line: + +First we need to create a dedicated network for our containers: + +On Linux: +```batch +docker network create -d bridge default-kassoubot 2> /dev/null || true ``` -docker network create -d bridge default-kassoubot && \ +On Windows: +```batch +docker network create -d bridge default-kassoubot 2> NUL || REM +``` + +Then we can create our containers: +```batch docker run -d \ --name="Lavalink" \ -p 2333:2333 \