{"id":31919955,"url":"https://github.com/sanders41/sqlx-migration-runner","last_synced_at":"2026-07-02T16:33:24.047Z","repository":{"id":316142931,"uuid":"1061827876","full_name":"sanders41/sqlx-migration-runner","owner":"sanders41","description":"Docker container to run sqlx migrations","archived":false,"fork":false,"pushed_at":"2026-03-17T00:58:55.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-02T20:39:23.820Z","etag":null,"topics":["docker","docker-compose","migrations","sqlx"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/sanders41.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["sanders41"]}},"created_at":"2025-09-22T12:45:48.000Z","updated_at":"2026-03-17T00:58:11.000Z","dependencies_parsed_at":"2025-09-23T00:19:06.457Z","dependency_job_id":"a8d5cb3b-7382-4986-b7fd-a5004c47a0d8","html_url":"https://github.com/sanders41/sqlx-migration-runner","commit_stats":null,"previous_names":["sanders41/sqlx-migration-runner"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sanders41/sqlx-migration-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanders41%2Fsqlx-migration-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanders41%2Fsqlx-migration-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanders41%2Fsqlx-migration-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanders41%2Fsqlx-migration-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanders41","download_url":"https://codeload.github.com/sanders41/sqlx-migration-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanders41%2Fsqlx-migration-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35055306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"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":["docker","docker-compose","migrations","sqlx"],"created_at":"2025-10-13T21:51:50.489Z","updated_at":"2026-07-02T16:33:24.040Z","avatar_url":"https://github.com/sanders41.png","language":"Shell","funding_links":["https://github.com/sponsors/sanders41"],"categories":[],"sub_categories":[],"readme":"# sqlx-cli docker image to run migrations\n\nCurrently only supports PostgreSQL. Make sure to mount the local `migrations` directory to the\n`migrations` directory in the contnainer.\n\n## Example docker-compose.yml\n\n```yaml\nservices:\n  db:\n    image: postgres:18-alpine\n    restart: unless-stopped\n    container_name: db\n    healthcheck:\n      test: [\"CMD-SHELL\", \"pg_isready -U $POSTGRES_USER -d $POSTGRES_DB\"]\n      interval: 10s\n      retries: 5\n      start_period: 30s\n      timeout: 10s\n    expose:\n      - 5432\n    environment:\n      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD?Variable not set}\n      - POSTGRES_USER=${POSTGRES_USER?Variable not set}\n      - POSTGRES_DB=${POSTGRES_DB?Variable not set}\n    volumes:\n      - db-data:/var/lib/postgresql/data\n\n  migrations:\n    image: ghcr.io/sanders41/sqlx-migration-runner:latest\n    container_name: migrations\n    environment:\n      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD?Variable not set}\n      - POSTGRES_USER=${POSTGRES_USER?Variable not set}\n      - POSTGRES_DB=${POSTGRES_DB?Variable not set}\n      - POSTGRES_HOST=db\n      - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}\n    depends_on:\n      db:\n        condition: service_healthy\n        restart: true\n    volumes:\n      - ./migrations:/migrations\n\nvolumes:\n  db-data:\n```\n\n## How To Pull The container\n\n```sh\ndocker pull ghcr.io/sanders41/sqlx-migration-runner:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanders41%2Fsqlx-migration-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanders41%2Fsqlx-migration-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanders41%2Fsqlx-migration-runner/lists"}