-
Notifications
You must be signed in to change notification settings - Fork 20
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
Linked Docker containers for this data? #3
Comments
That's a very good idea. I'm not entirely sure how to accomplish it, but I think the
(Would need proper login details added to the mysql commands). Have you got an example of a similar container? |
You might find this useful/interesting too: https://github.com/tithebarn/charity-base. Same data, but in MongoDB and with an API. |
Closest I've got is PostgreSQL and that's muddled up in https://github.com/psychemedia/ou-tm351/tree/master/TM351_docker_Testing I really need to do a simple worked teaching example for my own reference/reuse! |
There are examples of getting node running in containers at eg https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ |
That's useful, thanks. I'd be happy to collaborate on a worked example - tbh I find docker and particularly |
I made a start but hit issues I don't have time to debug right now:-( (Most of my own reusable scripts are for postgres or mongo). Init script for use by the Docker file - this breaks when the build process tries to run it (can't connect): The
The following
Running a python2 notebook, we should then be able to connect using something like the following:
However, on one occasion I did get the db running (not sure how...) I got a disallowed connection message (connection incoming from a disliked IP address (the IP address of the Jupyter notebook). So no idea what's happening there either... (I'm a bit out of practice with this docker stuff; maybe my memories of it "just working" are all false memories!) |
Thanks for publishing these scripts. I was wondering if you also have
Dockerfiles
anddocker-compose
scripts that can build eg a MySQL database containing the data in one container, and then demonstrating R or python linked containers for analysing the data in the database?The text was updated successfully, but these errors were encountered: