1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 10:18:07 +02:00
awesome-compose/nodejs-postgres/docker-compose.yml
Utkarsh Mathur 99a93a5da8 nodejs postgres connection
Signed-off-by: Utkarsh Mathur <utkarshmathur05@gmail.com>
2023-02-03 02:48:23 +05:30

19 lines
249 B
YAML

version: '3'
services:
db:
build:
context: ./postgres
ports:
- "5432:5432"
app:
build:
context: ./nodejs
ports:
- "3000:3000"
depends_on:
- db
networks:
- backend
networks:
backend: