docker-compose for nodejs and postgres connection #641

Open
opened 2026-03-07 21:20:56 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @sisouza on GitHub (Jan 22, 2022).

Hello
I hope you guys are well
So I would like to suggest a sample for nodejs with postgres connection, it could have:

  • a simple NodeJS app using Express
  • Postgres
  • And docker-compose file for setting the environment.
  • The connection between the nodejs app and postgres could be made through networks in compose.

In my profile there's some examples using docker-compose with nodejs.

It would be great contributing to this repository.

Originally created by @sisouza on GitHub (Jan 22, 2022). Hello I hope you guys are well So I would like to suggest a sample for nodejs with postgres connection, it could have: - a simple NodeJS app using Express - Postgres - And docker-compose file for setting the environment. - The connection between the nodejs app and postgres could be made through _networks_ in compose. In my profile there's some examples using docker-compose with nodejs. It would be great contributing to this repository.
GiteaMirror added the proposal label 2026-03-07 21:20:56 -06:00
Author
Owner

@glours commented on GitHub (Jan 22, 2022):

Hello @sisouza
There is some examples for compose in the dedicated docker/awesome-compose repository.
And there is a existing example with React Express and Mysql, maybe you can propose some improvements to this sample

I'll close this issue because all samples for compose are managed in this 2nd repository

@glours commented on GitHub (Jan 22, 2022): Hello @sisouza There is some examples for compose in the dedicated [docker/awesome-compose](https://github.com/docker/awesome-compose) repository. And there is a existing example with [React Express and Mysql](https://github.com/docker/awesome-compose/tree/master/react-express-mysql), maybe you can propose some improvements to this sample I'll close this issue because all samples for compose are managed in this 2nd repository
Author
Owner

@glours commented on GitHub (Jan 23, 2022):

Ho sorry, I was thinking we were in the @docker/compose repository 🤦
I reopen the issue, my bad

@glours commented on GitHub (Jan 23, 2022): Ho sorry, I was thinking we were in the @docker/compose repository 🤦 I reopen the issue, my bad
Author
Owner

@sisouza commented on GitHub (Jan 23, 2022):

okay, no problem, so can i contribute to this issue? it would be such a great experience! how should i start besides reading contributor guide? i am open to tips.
Thanks for answering! 😃

@sisouza commented on GitHub (Jan 23, 2022): okay, no problem, so can i contribute to this issue? it would be such a great experience! how should i start besides reading contributor guide? i am open to tips. Thanks for answering! 😃
Author
Owner

@sisouza commented on GitHub (Feb 15, 2022):

@glours I am working on this task, then soon there will be a PR 😀

@sisouza commented on GitHub (Feb 15, 2022): @glours I am working on this task, then soon there will be a PR 😀
Author
Owner

@CastleArg commented on GitHub (Jun 9, 2022):

please see https://github.com/docker/awesome-compose/issues/247
I've got something ready if it helps.

@CastleArg commented on GitHub (Jun 9, 2022): please see https://github.com/docker/awesome-compose/issues/247 I've got something ready if it helps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#641