{"id":20911061,"url":"https://github.com/lren-chuv/sample-meta-db-setup","last_synced_at":"2026-04-27T14:05:04.525Z","repository":{"id":144914581,"uuid":"97629089","full_name":"LREN-CHUV/sample-meta-db-setup","owner":"LREN-CHUV","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-17T09:06:37.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-28T01:50:43.786Z","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":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":"2017-07-18T18:08:12.000Z","updated_at":"2019-05-17T09:06:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4e8bce7-1349-471d-8bd9-ebf86f736dff","html_url":"https://github.com/LREN-CHUV/sample-meta-db-setup","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/LREN-CHUV/sample-meta-db-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fsample-meta-db-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fsample-meta-db-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fsample-meta-db-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fsample-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/sample-meta-db-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fsample-meta-db-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32339326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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:07.407Z","updated_at":"2026-04-27T14:05:04.498Z","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/sample-meta-db-setup/blob/master/LICENSE) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/c3ca609e0e51436d9a3278e6cea41432)](https://www.codacy.com/app/hbp-mip/sample-meta-db-setup?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=LREN-CHUV/sample-meta-db-setup\u0026amp;utm_campaign=Badge_Grade)\n[![CircleCI](https://circleci.com/gh/LREN-CHUV/sample-meta-db-setup.svg?style=svg)](https://circleci.com/gh/LREN-CHUV/sample-meta-db-setup)\n\n# Setup for database 'meta-db' with the selection of variables for sample-data-db\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 for sample data useful for testing and debugging purpose.\n\n## Usage\n\nRun:\n\n```console\n$ docker run -i -t --rm -e FLYWAY_HOST=`hostname` hbpmip/sample-meta-db-setup:0.7.1 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### sample-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%2Fsample-meta-db-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flren-chuv%2Fsample-meta-db-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fsample-meta-db-setup/lists"}