using new docker image

This commit is contained in:
Mylloon 2021-07-28 01:19:13 +02:00
parent ef84f8ded1
commit 06ebf2bb1c
2 changed files with 3 additions and 3 deletions

View file

@ -5,12 +5,12 @@
## __Setting up__ ## __Setting up__
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://github.com/Confrerie-du-Kassoulait/KassouBot/blob/master/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 run -d \ docker run -d \
--name="KassouBot" \ --name="KassouBot" \
index.docker.io/mylloon/kassoubot \ registry.gitlab.com/confreriedukassoulait/kassoubot \
--TOKEN_DISCORD="yourTokenDiscord" \ --TOKEN_DISCORD="yourTokenDiscord" \
--TOKEN_GENIUS="yourTokenGenius" \ --TOKEN_GENIUS="yourTokenGenius" \
--TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \ --TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \

View file

@ -1,7 +1,7 @@
version: "2.1" version: "2.1"
services: services:
kassoubot: kassoubot:
image: index.docker.io/mylloon/kassoubot image: registry.gitlab.com/confreriedukassoulait/kassoubot
container_name: KassouBot container_name: KassouBot
environment: environment:
- TOKEN_DISCORD=yourTokenDiscord - TOKEN_DISCORD=yourTokenDiscord