-
Notifications
You must be signed in to change notification settings - Fork 55
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
Ansible Configuration to Dockerfile #320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the review suggestions that I have added, rest of the PR looks good code wise. I will have to test it locally on devstack before I give final approval. Also a thing that popped into my mind while reviewing is that, this service is deployed to production using Dockerfile so we should keep that in mind and also get it reviewed by Owning team and SRE.
8990b0e
to
50f425f
Compare
50f425f
to
36429d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
ISSUE: openedx-unsupported/edx-analytics-dashboard#1328
This PR is part of effort aimed at removing Ansible based configurations and replacing them with
Dockerfile
. Currently Devstack Docker images are built usingAnsible based configurations
in theconfigurations
repository. Through this effort we will make sure that the Repo has its ownDockerfile
which has all the necessary configurations to setup small production and dev environments.Steps to run this Image with Devstack:
dev
i.e.docker build -t image-name-of-choice --target dev .
docker compose
file ofdevstack
and replace the existingedx_notes_api
image with the one that you built without changing any other configurations there.make dev.up.edx_notes_api
in the terminal while in the devstack directory.edx_notes_api
services.