이런저런 IT 이야기
article thumbnail
Next.js + TypeORM(Postgres) + Docker
Next.js 2023. 7. 20. 13:35

https://github.com/leeyonghe/NextjsTypeORMProject 샘플코드입니다. 미리 살펴보세요. 1. Docker 구성 Node Server 1대 node:latest 서버 이미지를 사용 포트번호 3000번으로 적용 Postgres DB 1대 DB 사용자 및 패스워드 적용 POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres123! docker-compose.yml 파일 내용 version: '3.7' services: dp_project: tty: true container_name: dp_project build: context: . dockerfile: Dockerfile ports: - "3000:3000" - "5555:5555"..

profile on loading

Loading...

검색 태그