{"id":37177997,"url":"https://github.com/flow-lab/flowdber","last_synced_at":"2026-01-14T20:44:54.545Z","repository":{"id":65194377,"uuid":"236373907","full_name":"flow-lab/flowdber","owner":"flow-lab","description":"Secure, efficient PostgreSQL migration utility with built-in TLS support. Ideal for use as an InitContainer in Kubernetes to seamlessly set up your database environment before app launch. Ensures smooth migrations and secure data transfer, bolstering your application's resilience and data integrity.","archived":false,"fork":false,"pushed_at":"2024-03-26T08:20:34.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-17T02:08:47.698Z","etag":null,"topics":["docker","dockerhub","golang","initcontainer","kubernetes","minikube","postgresql","sql-scripts"],"latest_commit_sha":null,"homepage":"","language":"Go","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/flow-lab.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":"2020-01-26T20:45:59.000Z","updated_at":"2023-05-23T20:06:30.000Z","dependencies_parsed_at":"2024-01-02T09:39:21.784Z","dependency_job_id":"cf47dbfb-b4a1-48cc-9808-da7a79da8f5d","html_url":"https://github.com/flow-lab/flowdber","commit_stats":null,"previous_names":["flow-lab/flow-k8-sql"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/flow-lab/flowdber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-lab%2Fflowdber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-lab%2Fflowdber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-lab%2Fflowdber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-lab%2Fflowdber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flow-lab","download_url":"https://codeload.github.com/flow-lab/flowdber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-lab%2Fflowdber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["docker","dockerhub","golang","initcontainer","kubernetes","minikube","postgresql","sql-scripts"],"created_at":"2026-01-14T20:44:54.015Z","updated_at":"2026-01-14T20:44:54.538Z","avatar_url":"https://github.com/flow-lab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlowDBer [![Build and Publish on Release Tag](https://github.com/flow-lab/flowdber/actions/workflows/docker-release.yml/badge.svg)](https://github.com/flow-lab/flowdber/actions/workflows/docker-release.yml)\n\nFlowDBer project includes a helper container that makes it easy to run SQL migration scripts using PostgreSQL on\nKubernetes. To use it, simply include it as an InitContainer in your deployment definition, following the instructions\nin the Kubernetes documentation.\n\nCheck [minikube.yml](./minikube.yml) for example configuration.\n\n### Requirements\n\n- file name should be **UNIXTIME**-**WHAT**.sql, eg: 1580247785-user-table.sql or just **INDEX**-**WHAT**.sql, eg:\n  0-new-user-db.sql, 1-birthdate-column-in-user.sql etc\n- sql scripts must be idempotent, which means that they can be run multiple times without causing any problems :)\n\n## Project structure\n\n- [./cmd](./cmd) - app implementation\n- [./internal](./internal) - internal packages that should not be shared with other projects\n- [./github](./.github) - GitHub Actions workflows\n- [./certs](./certs) - certificates for TLS when running locally with docker compose\n- [./db-scripts](./db-scripts) - database scripts that will be executed on startup when using docker compose\n- [docker-compose.yaml](./docker-compose.yaml) - docker compose file for running locally\n- [Makefile](./Makefile) - makefile for running commands during development\n- [LICENSE](./LICENSE) - license file\n\n## Requirements\n\n- [golang](https://golang.org/doc/install) installation\n- gui editor, e.g. [goland](https://www.jetbrains.com/go)\n\n## DockerHub\n\n[https://hub.docker.com/r/flowlab/flowdber](https://hub.docker.com/r/flowlab/flowdber)\n\n## Logging\n\nApp is using [dlog](https://github.com/flow-lab/dlog) for logging. It is configured to log to stdout and stderr.\n\n## Running locally\n\nYou can test it locally with [Minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/). Start minikube\nand apply `kubectl apply -f minikube.yml`.\n\n## Credits\n\n- This project was created by cookiecutter https://github.com/flow-lab/ms-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-lab%2Fflowdber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflow-lab%2Fflowdber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-lab%2Fflowdber/lists"}