Skip to content
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

Create a docker-compose file #5

Open
DakshChan opened this issue Oct 11, 2022 · 0 comments
Open

Create a docker-compose file #5

DakshChan opened this issue Oct 11, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@DakshChan
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Docker is a useful tool you will likely want to use for your own personal projects or encounter at your workplace. Docker is used to containerize applications for easy deployment, to provide isolation, and scalability/redundancy.

For the auth bot, we would like to use docker to make it easy to deploy our bot and accompanying database.

Describe the solution you'd like

  1. Create a DockerFile to turn our code into an image
  2. Create a docker-compose file to deploy 2 services, the auth bot, and a MongoDB database
  3. Write code in a new python file (perhaps db.py) to connect to the database

Additional context
Please see https://hub.docker.com/_/mongo to create a mongodb container in a DockerFile

@DakshChan DakshChan added enhancement New feature or request help wanted Extra attention is needed labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant