{"id":25707713,"url":"https://github.com/jhsware/database-services","last_synced_at":"2026-04-12T10:40:53.637Z","repository":{"id":92670804,"uuid":"165080076","full_name":"jhsware/database-services","owner":"jhsware","description":"Fire up all your database backends in docker containers for local development using a single command. Only listens to localhost. ","archived":false,"fork":false,"pushed_at":"2024-04-05T12:24:33.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-06T12:47:12.610Z","etag":null,"topics":["database","elasticsearch","mongodb","redis"],"latest_commit_sha":null,"homepage":"","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/jhsware.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-10T15:06:00.000Z","updated_at":"2022-01-12T10:41:19.000Z","dependencies_parsed_at":"2024-03-28T10:44:02.640Z","dependency_job_id":"ba410853-cd09-43c5-b6d3-bf3b47b2191a","html_url":"https://github.com/jhsware/database-services","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/jhsware%2Fdatabase-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Fdatabase-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Fdatabase-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhsware%2Fdatabase-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhsware","download_url":"https://codeload.github.com/jhsware/database-services/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240634538,"owners_count":19832887,"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":["database","elasticsearch","mongodb","redis"],"created_at":"2025-02-25T08:38:37.867Z","updated_at":"2025-12-30T22:45:11.050Z","avatar_url":"https://github.com/jhsware.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Services\nContainerised database backends for local development. Fire up one or more databases and connect to them without having to install them individually.\n\nExample:\n```bash\n./service start mongodb redis elasticsearch\n```\n\n**NOTE:** These services are ONLY exposed to **localhost** on the docker host (your computer). You don't have to worry about protecting them from intrusion by bad actors on your network.\n\nThe databases (except memcache) maintain state between restarts in this folder. If you remove this folder you free the space but you also lose your data.\n\nRequires Docker Desktop or similar to work. You can download it here:\nhttps://www.docker.com/products/docker-desktop\n\n(Forked from kth-node-backend)\n\n## Quickstart\n```bash\ngit clone git@github.com:jhsware/database-services.git\ncd database-services\n./service start mongodb\n```\n\nRun ```./service --help``` to list all backends:\n\n```bash\n$ ./service -h\n\nUsage: service start [services]\nUsage: service stop [services]\nYou can start/stop multiple services with one call by separating them with space.\n\nservices:\nelasticsearch -- elasticsearch available on 9200\nmemcached -- memcached daemon available on 11211\nmongodb -- mongodb available on 27017\nredis -- redis available on 6379\nsolr -- solr available on 8983\n```\n\nUse the following network settings in the ```docker-compose.yml``` for your app to connect to the backend bridge network:\n```\nnetworks:\n  default:\n    external:\n      name: database-service_[service]_net\n```\n\nOr access it from your local machine on their respective ports.\n\n## Where is the data stored?\n\nDatabase data is stored in the directories specified in each ```docker-compose-xxx.yml``` file. It's a bit of a mixed bag at the moment so you acctually need to inspect the configuration. The data files are .gitignored.\n\n### Redis\nData stored in: ./redis\n\n### MongoDB\nData stored in: ./mongodb\n\n### Solr\nData stored in: ./solr/data\n\nConfiguration stored in: ./solr/config\n\nCopied from:\nhttps://github.com/docker-solr/docker-solr\n\n### Elasticsearch\nData stored in: ./elasticsearch/data\n\n### Memcached\nData stored in: memory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsware%2Fdatabase-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhsware%2Fdatabase-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsware%2Fdatabase-services/lists"}