2021-03-17 21:37:05 +01:00
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
kassoubot:
|
2021-08-07 11:05:19 +02:00
|
|
|
image: registry.gitlab.com/confreriedukassoulait/kassoubot:latest
|
|
|
|
container_name: KassouBot-Core
|
2021-03-17 21:37:05 +01:00
|
|
|
environment:
|
2021-05-08 02:35:45 +02:00
|
|
|
- TOKEN_DISCORD=yourTokenDiscord
|
|
|
|
- TOKEN_GENIUS=yourTokenGenius
|
|
|
|
- TOKEN_REDDIT_CLIENT_ID=yourRedditClientID
|
|
|
|
- TOKEN_REDDIT_CLIENT_SECRET=yourRedditClientSecret
|
|
|
|
- TOKEN_REDDIT_USER_AGENT=yourRedditUserAgent
|
|
|
|
- TIMEZONE=yourTimezone # More info here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
|
|
- PREFIX=yourPrefix
|
2021-06-03 08:07:53 +02:00
|
|
|
volumes:
|
2021-06-13 22:41:05 +02:00
|
|
|
- /here/your/path/:/db
|
2021-08-07 11:44:35 +02:00
|
|
|
depends_on: # Remove theses two lines if you
|
|
|
|
- lavalink # don't want to use the music.py cog
|
2021-08-07 11:05:19 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
# Use this if you want to use the cog music.py, otherwise delete this part
|
|
|
|
lavalink:
|
|
|
|
image: fredboat/lavalink:master
|
|
|
|
container_name: KassouBot-Lavalink
|
2021-08-07 11:44:35 +02:00
|
|
|
environment:
|
|
|
|
- SERVER_PORT=2333
|
2021-08-07 11:57:51 +02:00
|
|
|
- SERVER_ADDRESS=localhost
|
2021-08-07 11:44:35 +02:00
|
|
|
- LAVALINK_SERVER_PASSWORD="youshallnotpass"
|
|
|
|
- LAVALINK_SERVER_WS_PORT=80
|
2021-08-07 11:57:13 +02:00
|
|
|
- LAVALINK_SERVER_WS_HOST="localhost"
|
2021-08-07 11:44:35 +02:00
|
|
|
- LAVALINK_SERVER_SOURCES_YOUTUBE=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_BANDCAMP=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_SOUNDCLOUD=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_TWITCH=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_VIMEO=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_HTTP=true
|
|
|
|
- LAVALINK_SERVER_SOURCES_LOCAL=false
|
|
|
|
- LAVALINK_SERVER_BUFFER_DURATION_MS=400
|
|
|
|
- LAVALINK_SERVER_YOUTUBE_PLAYLIST_LOAD_LIMIT=600
|
2021-08-07 11:05:19 +02:00
|
|
|
ports:
|
2021-08-07 11:57:13 +02:00
|
|
|
- 2333:2333
|
2021-03-17 21:37:05 +01:00
|
|
|
restart: unless-stopped
|