precions on the creation of the network

This commit is contained in:
Mylloon 2021-08-16 22:30:52 +02:00
parent 0393df3558
commit fc0361a14a

View file

@ -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 \