{"id":20911068,"url":"https://github.com/lren-chuv/mip-cde-meta-db-setup","last_synced_at":"2026-04-20T23:33:04.028Z","repository":{"id":144914503,"uuid":"94880276","full_name":"LREN-CHUV/mip-cde-meta-db-setup","owner":"LREN-CHUV","description":"Meta DB setup based on our selection of common variables (MIP CDE)","archived":false,"fork":false,"pushed_at":"2020-03-09T18:02:37.000Z","size":105,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-12T22:21:49.269Z","etag":null,"topics":["database-migrations","docker-image","reference-data"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LREN-CHUV.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-06-20T10:40:30.000Z","updated_at":"2020-03-09T18:02:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1626dce-0e3c-4a66-bafa-6648fb0b1dc2","html_url":"https://github.com/LREN-CHUV/mip-cde-meta-db-setup","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/LREN-CHUV/mip-cde-meta-db-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fmip-cde-meta-db-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fmip-cde-meta-db-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fmip-cde-meta-db-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fmip-cde-meta-db-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LREN-CHUV","download_url":"https://codeload.github.com/LREN-CHUV/mip-cde-meta-db-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fmip-cde-meta-db-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32070656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-migrations","docker-image","reference-data"],"created_at":"2024-11-18T14:19:08.130Z","updated_at":"2026-04-20T23:33:04.006Z","avatar_url":"https://github.com/LREN-CHUV.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CHUV](https://img.shields.io/badge/CHUV-LREN-AF4C64.svg)](https://www.unil.ch/lren/en/home.html) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/LREN-CHUV/mip-cde-meta-db-setup/blob/master/LICENSE) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ed414fa4f14a442d98c3a93fb9b899a0)](https://www.codacy.com/app/hbp-mip/mip-cde-meta-db-setup?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=LREN-CHUV/mip-cde-meta-db-setup\u0026amp;utm_campaign=Badge_Grade) [![CircleCI](https://circleci.com/gh/HBPMedical/mip-cde-meta-db-setup.svg?style=svg)](https://circleci.com/gh/HBPMedical/mip-cde-meta-db-setup)\n\n# Setup for database 'meta-db' with the selection of variables for mip-cde\n\n## Introduction\n\nThis Docker image uses Flyway to manage the database migration scripts for the 'meta-db' database used by MIP.\n\nThis database contains the metadata used for reference, including:\n\n* the list of variables and groups for the Common Data Elements (CDE) defined by MIP, under alias `mip-cde`.\n\n## Usage\n\nRun:\n\n```console\n$ docker run -i -t --rm -e FLYWAY_HOST=`hostname` hbpmip/mip-cde-meta-db-setup:1.3.5 migrate\n```\n\nwhere the environment variables are:\n\n* FLYWAY_HOST: database host, default to 'db'.\n* FLYWAY_PORT: database port, default to 5432.\n* FLYWAY_DATABASE_NAME: name of the database or schema, default to 'meta'\n* FLYWAY_URL: JDBC url to the database, constructed by default from FLYWAY_DBMS, FLYWAY_HOST, FLYWAY_PORT and FLYWAY_DATABASE_NAME\n* FLYWAY_DRIVER: Fully qualified classname of the jdbc driver (autodetected by default based on flyway.url)\n* FLYWAY_USER: database user, default to 'meta'.\n* FLYWAY_PASSWORD: database password, default to 'meta'.\n* FLYWAY_SCHEMAS: Optional, comma-separated list of schemas managed by Flyway\n* FLYWAY_TABLE: Optional, name of Flyway's metadata table (default: schema_version)\n\n## Build\n\nRun: `./build.sh`\n\n## Publish on Docker Hub\n\nRun: `./publish.sh`\n\n## License\n\n### mip-cde-meta-db-setup\n\n(this project)\n\nCopyright (C) 2017 [LREN CHUV](https://www.unil.ch/lren/en/home.html)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\n### Flyway\n\nCopyright (C) 2016-2017 [Boxfuse GmbH](https://boxfuse.com)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\n## Trademark\nFlyway is a registered trademark of [Boxfuse GmbH](https://boxfuse.com).\n\n# Acknowledgements\n\nThis work has been funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)\n\nThis work is part of SP8 of the Human Brain Project (SGA1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fmip-cde-meta-db-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flren-chuv%2Fmip-cde-meta-db-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fmip-cde-meta-db-setup/lists"}