postgres docker tools for knorm and its plugins
npm install knorm-postgrespostgres docker tools for knorm and its
plugins.
starts a postgres container. if one doesn't exist, it creates it, downloading
the postgres image if necessary.
#### options:
- name alias: n, default: knorm-postgres: specifies the name of the
postgres container.
Other configurations can be made using environment variables:
- POSTGRES_PORT: configures the port number for the container, defaults to
5616
- POSTGRES_USER: configures the postgres user for the database, defaults to
knorm
- POSTGRES_PASSWORD: configures the postgres password for the database,
defaults to knorm
- POSTGRES_DB: configures the postgres database name for the database,
defaults to knorm
stops a running postgres container.
#### options:
- name alias: n, default: knorm-postgres: specifies the name of the
postgres container.
removes a running/stopped postgres container.
#### options:
- name alias: n, default: knorm-postgres: specifies the name of the
postgres container.