{"id":20911054,"url":"https://github.com/lren-chuv/woken-db-setup","last_synced_at":"2026-05-18T09:38:12.633Z","repository":{"id":144914594,"uuid":"46413229","full_name":"LREN-CHUV/woken-db-setup","owner":"LREN-CHUV","description":"Creation and control scripts for the Postgres database used to store analytics results in the MIP","archived":false,"fork":false,"pushed_at":"2019-05-10T14:50:07.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T13:25:58.460Z","etag":null,"topics":["algorithm-factory","database-migrations","docker-image"],"latest_commit_sha":null,"homepage":"","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":"2015-11-18T11:02:01.000Z","updated_at":"2019-05-10T14:50:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5200813-92da-4724-8162-5bec66c2db03","html_url":"https://github.com/LREN-CHUV/woken-db-setup","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/LREN-CHUV/woken-db-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fwoken-db-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fwoken-db-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fwoken-db-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fwoken-db-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LREN-CHUV","download_url":"https://codeload.github.com/LREN-CHUV/woken-db-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LREN-CHUV%2Fwoken-db-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["algorithm-factory","database-migrations","docker-image"],"created_at":"2024-11-18T14:19:05.979Z","updated_at":"2026-05-18T09:38:12.607Z","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/woken-db-setup/blob/master/LICENSE)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/29986afe800443f191339ef4a742afa6)](https://www.codacy.com/app/hbp-mip/woken-db-setup?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=HBPMedical/woken-db-setup\u0026amp;utm_campaign=Badge_Grade)\n[![CircleCI](https://circleci.com/gh/LREN-CHUV/woken-db-setup.svg?style=svg)](https://circleci.com/gh/LREN-CHUV/woken-db-setup)\n\n# Setup for database 'woken-db'\n\n## Introduction\n\nThis project uses Flyway to manage the database migration scripts for the 'woken-db' database used by Woken.\n\n## Usage\n\nRun:\n```console\n$ docker run -i -t --rm -e FLYWAY_DBMS=postgres -e FLYWAY_HOST=`hostname` hbpmip/woken-db-setup:1.3.3 migrate\n```\n\nwhere the environment variables are:\n\n* FLYWAY_DBMS: [required] Type of the database (oracle, postgres...).\n* FLYWAY_HOST: [required] database host.\n* FLYWAY_PORT: database port.\n* FLYWAY_DATABASE_NAME: name of the database or schema\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.\n* FLYWAY_PASSWORD: database password.\n* FLYWAY_SCHEMAS: Comma-separated list of schemas managed by Flyway\n* FLYWAY_TABLE: 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### Woken-db-setup\n\n(this project)\n\nCopyright (C) 2017-2019 [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\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\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%2Fwoken-db-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flren-chuv%2Fwoken-db-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flren-chuv%2Fwoken-db-setup/lists"}