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

make changes to backend code/docker to setup production level environment #45

Open
5 tasks
RoguedBear opened this issue Apr 5, 2023 · 1 comment
Open
5 tasks
Labels
backend devops weeeeeeeeeeeeeeeeeeeeee

Comments

@RoguedBear
Copy link
Member

  • create production ready Dockerfiles for backend:
  • turning off DEBUG_MODE in Django for production environment image
  • writing a production environment docker-compose with MySQL/MariaDB env variables
  • adding MySQL support to backend by changing DB engine based on DEBUG_MODE ( assigned to: @RoguedBear )
  • make use of wait-for-it to:
    • backend waits for db to start then performs migrations before starting up
    • celery waits for backend to come online
@RoguedBear RoguedBear added devops weeeeeeeeeeeeeeeeeeeeee backend labels Apr 5, 2023
@RoguedBear
Copy link
Member Author

tagging @abheektripathy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend devops weeeeeeeeeeeeeeeeeeeeee
Projects
None yet
Development

No branches or pull requests

1 participant