docker-compose-node-postgres

1.0.0 • Public • Published

Docker Compose for Node.js and PostgreSQL

For the sake of making it more real-world, setup has also a build step (here with TypeScript).

Read more

I've put together an article which explains most of the code from this repo: Docker Compose for NodeJS and PostreSQL

Run

docker-compose up --build

Test

curl http://localhost:3000/ping
# {"environment":"development","database":"up"} 

WARNING

Don't keep .env file in the repo. It's here as it makes demo example simpler.

Readme

Keywords

none

Package Sidebar

Install

npm i docker-compose-node-postgres

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

51.4 kB

Total Files

37

Last publish

Collaborators

  • rschwarz24