This repository has been archived on 2022-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
KassouBot/docker-compose.yml
2021-08-07 11:57:13 +02:00

41 lines
1.5 KiB
YAML

version: "2.1"
services:
kassoubot:
image: registry.gitlab.com/confreriedukassoulait/kassoubot:latest
container_name: KassouBot-Core
environment:
- 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
volumes:
- /here/your/path/:/db
depends_on: # Remove theses two lines if you
- lavalink # don't want to use the music.py cog
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
environment:
- SERVER_PORT=2333
- SERVER_ADDRESS="localhost"
- LAVALINK_SERVER_PASSWORD="youshallnotpass"
- LAVALINK_SERVER_WS_PORT=80
- LAVALINK_SERVER_WS_HOST="localhost"
- 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
ports:
- 2333:2333
restart: unless-stopped