File tree Expand file tree Collapse file tree 4 files changed +0
-91
lines changed
Expand file tree Collapse file tree 4 files changed +0
-91
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,3 @@ DB_NAME=test
1010DB_USERNAME = test
1111DB_PASSWORD = test
1212DB_POOL_SIZE = 20
13-
14- # DATABASE (docker-compose.dev)
15- # DB_HOST에 mysql을 사용하면 docker-compose.dev에서 데이터베이스 연결이 가능합니다.
16- # DB_HOST=mysql
17- # DB_PORT=3306
18- # DB_ROOT_PASSWORD=rootpass
19- # DB_NAME=test
20- # DB_USERNAME=test
21- # DB_PASSWORD=test
22- # DB_POOL_SIZE=20
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,20 +32,6 @@ $ npm run docker:up
3232$ npm run docker:down
3333```
3434
35- docker-compose.dev.yml
36- - DB와 NestJS 앱을 실행하는 목적으로 사용합니다.
37- - Dockerfile.dev를 사용합니다.
38-
39- ``` bash
40- # 실행
41- $ docker compose -f docker-compose.dev.yml up -d
42-
43- # 중지 (도커 볼륨 삭제)
44- $ docker compose -f docker-compose.dev.yml down -v
45- ```
46-
47- Dockerfile.dev는 로컬에서 빌드를 테스트하는 목적이고 Dockerfile은 운영 환경에서 사용할 수 있도록 최적화했습니다.
48-
4935## 실행
5036
5137``` bash
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments