New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker #1276
base: master
Are you sure you want to change the base?
Docker #1276
Conversation
…queue up from the default playlist instead of don't play anything
- Environment variables - `BOT_TOKEN` : Discord Token - `BOT_OWNER` : Owner ID of Discord
- Minimize the image size (alpine)
There's no need to make code modifications to use environment variables in the config; HOCON natively supports env vars |
This comment was marked as resolved.
This comment was marked as resolved.
Any update when this is going to be merged? |
- com.typesafe version update from 1.3.2 -> 1.4.2 for supporting the HOCON env var overriding feature - env: `CONFIG_FORCE_token` and `CONFIG_FORCE_owner` must be set - the program will generate a folder named JMusicBot under current working directory that mounted to the internal docker directory. Any config files generated by the bot will be sync with the folder - some small enhancements have been made in BotConfig.java and OtherUtil.java for it to work with Docker feature
Now it overrides the value from the And I also made the Github workflow for Docker image CI |
This pull request...
Description
play
command will let the bot join voice channel and play the default playlist if there's no song being selected and default playlist has been configuredDocker image
alpine
bash
,nano
,openjdk-17
has been configured to be installed in the image