{"id":17355204,"url":"https://github.com/zephinzer/db-ensurer","last_synced_at":"2025-06-12T09:34:35.254Z","repository":{"id":79926500,"uuid":"150072815","full_name":"zephinzer/db-ensurer","owner":"zephinzer","description":"Utility job for communicating with the `db-maker` service to ensure the required database is created.","archived":false,"fork":false,"pushed_at":"2018-09-24T08:29:39.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T19:14:07.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zephinzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2018-09-24T08:18:07.000Z","updated_at":"2018-09-24T08:28:12.000Z","dependencies_parsed_at":"2023-09-17T12:00:55.304Z","dependency_job_id":null,"html_url":"https://github.com/zephinzer/db-ensurer","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"d96f303bbde124595e2d963932214238bf206788"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fdb-ensurer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fdb-ensurer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fdb-ensurer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fdb-ensurer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zephinzer","download_url":"https://codeload.github.com/zephinzer/db-ensurer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245868332,"owners_count":20685609,"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-10-15T17:42:37.144Z","updated_at":"2025-03-27T15:21:52.126Z","avatar_url":"https://github.com/zephinzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DB Ensurer\n\n[![Build Status](https://travis-ci.org/zephinzer/db-ensurer.svg?branch=master)](https://travis-ci.org/zephinzer/db-ensurer)\n\nJob for running to create a new database with [the `db-maker` service](https://github.com/zephinzer/db-maker). Run this job to create the required database and database user.\n\n## Usage\n\nSee the [docker-compose.yml](./docker-compose.yml) for a simple setup.\n\n\n## Job Configuration\n\n| Environment Variable | Type | Description |\n| --- | --- | --- |\n| `DB_MAKER_URL` | String | Specifies the base URL of the `db-maker` service. Eg. `http://db-maker:8080` |\n| `DB_HOST` | String | Specifies the hostname of the database. Eg. `mysql` (port defaults to 3306) |\n| `DB_NAME` | String | Specifies the name of the new schema you wish to create. Eg. `my_schema` |\n| `DB_USER` | String | Specifies the user which will be granted access to the new schema. Eg. `schema_user` |\n| `DB_PASSWORD` | String | Specifies the password of the user specified in `DB_USER` |\n| `DB_ROOT_PASSWORD` | String | Specifies the root password so that the user can be created |\n| `MAX_RETRY` | String | Specifies the maximum number of retries of the job before it exits with 1 |\n| `INTERVAL_RETRY` | String | Specifies the duration in milliseconds between connection retries |\n\n## License\nThis project is licensed under [the MIT license](./LICENSE).\n\n# Cheers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Fdb-ensurer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephinzer%2Fdb-ensurer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Fdb-ensurer/lists"}