precions on the creation of the network
This commit is contained in:
parent
0393df3558
commit
fc0361a14a
1 changed files with 13 additions and 1 deletions
14
README.md
14
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.
|
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:
|
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 \
|
docker run -d \
|
||||||
--name="Lavalink" \
|
--name="Lavalink" \
|
||||||
-p 2333:2333 \
|
-p 2333:2333 \
|
||||||
|
|
Reference in a new issue