Sign inSign up

nantaaditya/db-migration

By nantaaditya

Updated almost 3 years ago

A Java - PostgreSQL Schema Migrator

Image
0

525

nantaaditya/db-migration repository overview

DB Migration

Java - PostgreSQL Schema Migrator

Environment Variables

Env NameTypeDefault ValueDescription
SERVER_PORTint1000port of application
DB_URLStringjdbc:postgresql://localhost:5432/local_dbspring datasource url of application
DB_USERStringuserusername of datasource
DB_PASSStringpasswordpassword of datasource
LOG_NAMEStringdb-migration.loglog name of application
MAX_LOG_HISTORYint14log retention to be kept on disk
PRIVATE_KEYString-RSA Private Key to decrypt encrypted value
PUBLIC_KEYString-RSA Public Key to encrypt username, password, passphrase of database credential
CREDENTIAL_PREFIXStringthisisprefixPrefix to be add on password before doing encryption
CREDENTIAL_POSTFIXStringthisispostfixPostfix to be add on password before doing encryption

OpenAPI Swagger

http://localhost:{server_port}/swagger-ui/index.html

Run Image

-- pull image
docker run --env-file {env_file} --name db-migration -p {host_port}:{server_port} nantaaditya/db-migration:{version}

Tag summary

Content type

Image

Digest

sha256:e1992aedd

Size

143.4 MB

Last updated

almost 3 years ago

docker pull nantaaditya/db-migration