{"id":18597020,"url":"https://github.com/focusaurus/dbdock","last_synced_at":"2025-05-16T13:33:09.210Z","repository":{"id":20203942,"uuid":"23475356","full_name":"focusaurus/dbdock","owner":"focusaurus","description":"Vagrant + Ubuntu + Docker + DBs","archived":false,"fork":false,"pushed_at":"2018-05-01T02:33:38.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T18:02:54.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/focusaurus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-29T19:30:00.000Z","updated_at":"2018-05-01T02:33:39.000Z","dependencies_parsed_at":"2022-07-24T23:46:38.141Z","dependency_job_id":null,"html_url":"https://github.com/focusaurus/dbdock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fdbdock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fdbdock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fdbdock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/focusaurus%2Fdbdock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/focusaurus","download_url":"https://codeload.github.com/focusaurus/dbdock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254538475,"owners_count":22087869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T01:26:41.957Z","updated_at":"2025-05-16T13:33:09.172Z","avatar_url":"https://github.com/focusaurus.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbdock\n\n## Run your dev dbs and docker via vagrant\n\n- Lets you work on many projects with many different databases with too much OSX craziness\n- Uses vagrant to set you up a virtualbox VM with:\n  - Ubuntu\n  - docker\n  - docker-registry\n  - any databases you need for local projects\n\n# Prerequisites\n\n- Mac OS X\n- VirtualBox\n- Vagrant\n\n\n    echo 10.9.8.50 dbdock | sudo tee -a /etc/hosts\n    export DOCKER_HOST=tcp://dbdock:2375\n\n#Questions\n\n- Why don't you run the databases as docker containers?\n  - You certainly can do that and you may prefer it.\n  - Containerizing the DBs doesn't provide any compelling advantage I can see so I just run them directly in the host OS. It keeps things just a little bit simpler.\n  - When I test my apps deployed in docker, I hook them up to containerized DBs, but for local development, I just point my app server at the dbdock host-only IP address and I'm done.\n- Is it secure?\n  - I think it's reasonably secure since the host is behind the virtualbox NAT network\n  - The DBs and docker are only accessible via the virtualbox host-only network.\n  - That said, this is intended for non-sensitive, non-critical development/throwaway data. Don't put production data in here.\n- Why does the `Vagrantfile` have a hard-coded IP address?\n  - That's just the address range I like to use on my virtualbox host-only network, and I prefer static IPs over DHCP. I also add a line to my `/etc/hosts` on my OSX machine so I can access the VM via the hostname `dbdock`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocusaurus%2Fdbdock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffocusaurus%2Fdbdock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffocusaurus%2Fdbdock/lists"}