dockerized-postgres

0.1.10 • Public • Published

Simple package for starting and shutting down dockerized postgres instance (mainly for tests purposes)

Usage example:

const DockerizedPostgres = require('dockerized-postgres');

const postgres = new DockerizedPostgres({
  beforeHook: (port) => {}, // will be called before container start
  afterHook: (port) => {}, // will be called right after container shutdown,
  tag: '11', // image tag
});

await postgres.start();
await postgres.shutdown();

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.102latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.102
0.1.91
0.1.81
0.1.71
0.1.61
0.1.51
0.1.42
0.1.31
0.1.21
0.1.11
0.1.01

Package Sidebar

Install

npm i dockerized-postgres

Weekly Downloads

13

Version

0.1.10

License

MIT

Unpacked Size

6.25 kB

Total Files

4

Last publish

Collaborators

  • sadkovoy