Repository navigation
Expand file tree
/
Copy pathpylav.docker.yaml
More file actions
39 lines (32 loc) · 3.68 KB
/
Copy pathpylav.docker.yaml
File metadata and controls
39 lines (32 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PYLAV__POSTGRES_HOST: postgres # The hostname for the postgres container, must be on same network as the redbot container
PYLAV__POSTGRES_PORT: 5432 # Will always be this
PYLAV__POSTGRES_SOCKET: /var/run/postgresql # Will always be this
PYLAV__POSTGRES_PASSWORD: postgres # Whatever you set POSTGRES_PASSWORD as in the postgres container
PYLAV__POSTGRES_USER: postgres # Whatever you set POSTGRES_USER as in the postgres container
PYLAV__POSTGRES_DB: postgres # Whatever you set POSTGRES_DB as in the postgres container
# Warning: This will require changes to the Postgres server settings
# Please read https://stackoverflow.com/questions/30778015/how-to-increase-the-max-connections-in-postgres for more information on the following setting
PYLAV__POSTGRES_CONNECTIONS: 100 # The number of connections to the Postgres server
PYLAV__EXTERNAL_UNMANAGED_HOST: lavalink # The hostname for the lavalink container, must be on same network as the redbot container
PYLAV__EXTERNAL_UNMANAGED_PORT: 2155 # Will always be this
PYLAV__EXTERNAL_UNMANAGED_PASSWORD: youshallnotpass # Whatever you set LAVALINK_SERVER_PASSWORD as in the lavalink container
PYLAV__EXTERNAL_UNMANAGED_SSL: false # Will always be this
PYLAV__EXTERNAL_UNMANAGED_NAME: Docker (localhost) # Whatever you want to call the node
PYLAV__MANAGED_NODE_SPOTIFY_CLIENT_ID: # Whatever you set PLUGINS_LAVASRC_SPOTIFY_CLIENTID as in the lavalink container
PYLAV__MANAGED_NODE_SPOTIFY_CLIENT_SECRET: # Whatever you set PLUGINS_LAVASRC_SPOTIFY_CLIENTSECRET as in the lavalink container
PYLAV__MANAGED_NODE_SPOTIFY_COUNTRY_CODE: US # Whatever you set PLUGINS_LAVASRC_SPOTIFY_COUNTRYCODE as in the lavalink container
PYLAV__MANAGED_NODE_APPLE_MUSIC_API_KEY: # Whatever you set PLUGINS_LAVASRC_APPLEMUSIC_MEDIAAPITOKEN as in the lavalink container
PYLAV__MANAGED_NODE_APPLE_MUSIC_COUNTRY_CODE: US # Whatever you set PLUGINS_LAVASRC_APPLEMUSIC_COUNTRYCODE as in the lavalink container
PYLAV__MANAGED_NODE_YANDEX_MUSIC_ACCESS_TOKEN: # Whatever you set PLUGINS_LAVASRC_YANDEXMUSIC_ACCESSTOKEN as in the lavalink container
PYLAV__MANAGED_NODE_DEEZER_KEY: id58zow5hmqhdv24zil4znth3ywy8prt9-dizzzrlba8q4h2al0ywmhp2zg-1d5g # Deezer Key - Required for Deezer tracks to work with the managed node, leave empty unless you know what you are doing
PYLAV__DEFAULT_SEARCH_SOURCE: dzsearch # Defaults to dzsearch - Possible values are dzsearch (Deezer), spsearch (Spotify), amsearch (Apple Music), ytmsearch (YouTube Music), ytsearch (YouTube)
PYLAV__REDIS_FULL_ADDRESS_RESPONSE_CACHE: # Optional Leave "null" so that it is not used.
PYLAV__JAVA_EXECUTABLE: java # Never used in this environment.
PYLAV__TASK_TIMER_UPDATE_BUNDLED_PLAYLISTS_DAYS: 1 # How many days to wait between updates - Minimum 1 Day.
PYLAV__TASK_TIMER_UPDATE_BUNDLED_EXTERNAL_PLAYLISTS_DAYS: 7 # How many days to wait between updates - Minimum 7 Days.
PYLAV__TASK_TIMER_UPDATE_EXTERNAL_PLAYLISTS_DAYS: 7 # How many days to wait between updates - Minimum 7 Days.
# Please note that if this is enable, multiple bots should not share the same database, as reads/writes will not be synced.
PYLAV__READ_CACHING_ENABLED: false # Whether to cache the postgres queries - Values are `true` or `false` - case sensitive
PYLAV__LOCAL_TRACKS_FOLDER: /data/localtracks # The folder where local tracks are stored.
PYLAV__DATA_FOLDER: /data/pylav # The folder where the config files are stored - Leave null to use a OS appropriate default
PYLAV__DEFAULT_PLAYER_VOLUME: 25 # The default volume of the player - Values are 0-100