ByteBase: Schema Migration
Deploy Bytebase with Pigsty’s Docker Compose template and connect it to external PostgreSQL.
Bytebase is a database schema change and version management tool.
Pigsty provides a ready-to-use Compose template in app/bytebase. It listens on 8887 by default and connects to external PostgreSQL via BB_PGURL.
Quick Start
Access:
http://ddl.pigstyhttp://<IP>:8887
After first startup, initialize the admin account using the Bytebase setup wizard.
External PostgreSQL
Default connection string example:
You can create the database user and database in Pigsty first:
Common Commands
References
- Bytebase docs: https://www.bytebase.com/docs/
- Pigsty template: https://github.com/pgsty/pigsty/tree/main/app/bytebase
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)