MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

Adding capability to deploy using Docker.

Open Harshraj9812 opened this issue 1 year ago • 0 comments

This pull request...

  • [ ] Fixes a bug
  • [x] Introduces a new feature
  • [ ] Improves an existing feature
  • [ ] Boosts code quality or performance

Description

These changes are to make this awesome bot docker deployment ready for Ease of Deployment.

Things added -

  • Added Github Action to create a Docker Build by providing the Release version
  • Added Dockerfile which will fetch the provided release files from the repo and create a Docker Image
  • Added Sample Docker-Compose file for the user who will be going to deploy this bot with docker.

Config Changes needed

  • Please add Your Docker Hub Secrets on GitHub Secrets with these key values (These are used in the GitHub Action file)
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
  • Review once for any needful changes required, This is my setup which I am using to automate the building of the docker image and deployment. (https://github.com/Harshraj9812/HR-Bot-JMusicBot)

Purpose

These changes will add a new capability to this bot to be deployed with Docker, Which will ease the Deployment process without any dependency on OS.

Relevant Issue(s)

No fix for any ongoing issue, This is for additional deployment improvement.

Harshraj9812 avatar Mar 24 '24 08:03 Harshraj9812