-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dockerizing Caseflow App for demo and development #7368
Conversation
@enriquemanuel I like where you're headed with this. Might this help? https://store.docker.com/images/oracle-instant-client?tab=description |
The circleci issue might be due to the changes that I did to the yml files so connectivity might be not good since this now depends on the |
I have created the separate compose file and updated the documentation above. |
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 🌲 good work pushing through the difficulties on this!
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.
🎉
…rs/caseflow into dockerizing
…rs/caseflow into dockerizing
…rs/caseflow into dockerizing
Whoa!! This looks really cool. Running through the build/startup this morning, will report back. |
Ran the @enriquemanuel some comments re: the s3 and ecr usage:
Still working through the |
Just an FYI, you pass
|
Oops. To explain the issue I noted at the end of my previous message - I hadn’t signed up for
You figured out how to dockerize Caseflow, @enriquemanuel! Looks good to me. I left some comments about the aws/ecr access. |
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.
This is great! I chatted with Enrique that we need a way to use a debugger and I've also noticed file changes are not picked up.
Build Caseflow Docker Image
docker-bin
folder and execute thebuild.sh
Start it up
docker-compose up -f docker-compose-demo.yml
and it will create the databases, the cache and start everything up. Finally, it will seed the database and migrate itThis means the app has now started and you can navigate to
localhost:3000
in your browser to use CaseflowTroubleshooting
If you had run caseflow in your computer before, you might need to clean docker stuff.
For it, do the following:
docker-compose down
this will stop all the services that might have been enableddocker volume rm $(docker volume ls -q)
this will delete all the volumes that you had. IMPORTANT if you had volumes that you care, don't execute this command, but do it with more cautious deleting the ones that you know are related to the docker-composedocker ps -a
and check if you have anything dangling and remove it accordingly