Sign inSign up

rolang/dumbo

By rolang

•Updated about 2 months ago

Simple database migration tool for Postgres

Image
0

1.1K

rolang/dumbo repository overview

⁠Dumbo command line

Command line docker release of dumbo: https://github.com/rolang/dumbo⁠ (see README for full documentation).

⁠Getting started

To print the command line help run:

docker run rolang/dumbo:latest-alpine help
⁠Command-line arguments
⁠Commands:
CommandDescription
helpPrint this usage info and exit
migrateMigrates the database
validateValidates the applied migrations against the ones in the location
version, -v, --versionPrint the Dumbo version
⁠Configuration parameters (Format: -key=value):
ConfigurationDescriptionDefault
locationPath to directory to scan for migrations
tableThe name of Dumbo's schema history tableflyway_schema_history
passwordPassword to use to connect to the database
urlUrl to use to connect to the database
validateOnMigrateValidate when running migratetrue
userUser to use to connect to the database
schemasComma-separated list of the schemas managed by Dumbo. First schema will be used as default schema if set.public
sslSSL mode to use: none, trusted or system.none

⁠Examples

Run migration given migration files in /path/to/db/migration:

docker run \
  -v /path/to/db/migration:/migration \
  rolang/dumbo:latest-alpine \
  -user=postgres \
  -password=postgres \
  -url=postgresql://localhost:5432/postgres \
  -location=/migration \
  migrate

Tag summary

Content type

Image

Digest

sha256:c3812ec0b…

Size

13.4 MB

Last updated

about 2 months ago

docker pull rolang/dumbo:latest-alpine