{"id":24285302,"url":"https://github.com/vepo/flyway-migrator","last_synced_at":"2025-09-25T07:31:05.074Z","repository":{"id":95647262,"uuid":"106137261","full_name":"vepo/flyway-migrator","owner":"vepo","description":"Flyway migrator using docker.","archived":true,"fork":false,"pushed_at":"2017-11-13T17:33:15.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T19:19:41.956Z","etag":null,"topics":["database","docker","mysql","postgresql"],"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/vepo.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-10-07T23:28:36.000Z","updated_at":"2024-12-26T23:16:52.000Z","dependencies_parsed_at":"2023-04-11T07:49:18.059Z","dependency_job_id":null,"html_url":"https://github.com/vepo/flyway-migrator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vepo/flyway-migrator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vepo%2Fflyway-migrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vepo%2Fflyway-migrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vepo%2Fflyway-migrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vepo%2Fflyway-migrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vepo","download_url":"https://codeload.github.com/vepo/flyway-migrator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vepo%2Fflyway-migrator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276881825,"owners_count":25721413,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"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","docker","mysql","postgresql"],"created_at":"2025-01-16T06:34:04.875Z","updated_at":"2025-09-25T07:31:05.063Z","avatar_url":"https://github.com/vepo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flyway migrator for docker\n===\nAutomatic migrator for database using docker.\n\n# Setup\nUsing with `docker-compose`\n\n## Postgresql\n\n```\nversion: \"2\"\n\nservices:\n  test-db:\n    image: postgres\n    container_name: test-db\n    ports:\n      - \"5432:5432\"\n    expose:\n      - \"5432\"\n    environment:\n      - POSTGRES_DB=test\n      - POSTGRES_USER=test-user\n      - POSTGRES_PASSWORD=test-pw\n    volumes:\n      - ./env-config/postgres.conf:/etc/postgresql.conf\n      - /srv/docker/postgresql:/var/lib/postgresql\n    command: postgres -c config_file=/etc/postgresql.conf\n    restart: always\n\n  test-migrator:\n    image: vepo/flyway-migrator\n    depends_on:\n      - test-db\n    environment:\n      - DB_URL=postgresql://test-db/test\n      - DB_USER=test-user\n      - DB_PASSWORD=test-pw\n    volumes:\n      - ./migration-sql:/flyway/sql\n```\n\n## MySQL\n\n```\nversion: \"2\"\n\nservices:\n  test-db:\n    image: mysql\n    container_name: test-db\n    ports:\n      - \"3306:3306\"\n    expose:\n      - \"3306\"\n    environment:\n      - MYSQL_ROOT_PASSWORD=root\n      - MYSQL_DATABASE=test-db\n      - MYSQL_USER=log-user\n      - MYSQL_PASSWORD=test-pw\n    volumes:\n      - ./db_data:/var/lib/mysql\n    restart: always\n\n  log-migrator:\n    container_name: test-db-migrator\n    image: vepo/flyway-migrator\n    depends_on:\n      - test-db\n    environment:\n      - DB_URL=mysql://test-db/test-db\n      - DB_USER=log-user\n      - DB_PASSWORD=test-pw\n    volumes:\n      - ./migration-sql:/flyway/sql\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvepo%2Fflyway-migrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvepo%2Fflyway-migrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvepo%2Fflyway-migrator/lists"}