Initial import
This commit is contained in:
28
etc/db/work-db/README.md
Executable file
28
etc/db/work-db/README.md
Executable file
@@ -0,0 +1,28 @@
|
||||
# Work DB
|
||||
|
||||
로컬 개발용 PostgreSQL 컨테이너입니다.
|
||||
|
||||
## 실행
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
docker compose logs -f postgres
|
||||
```
|
||||
|
||||
## 중지
|
||||
|
||||
```bash
|
||||
docker compose down
|
||||
```
|
||||
|
||||
## 기본 접속 정보
|
||||
|
||||
- Host: `localhost`
|
||||
- Port: `.env`의 `POSTGRES_PORT`
|
||||
- Database: `.env`의 `POSTGRES_DB`
|
||||
- User: `.env`의 `POSTGRES_USER`
|
||||
- Password: `.env`의 `POSTGRES_PASSWORD`
|
||||
|
||||
## work-server 연동
|
||||
|
||||
`etc/servers/work-server/.env`의 DB 설정과 맞춰서 사용합니다.
|
||||
Reference in New Issue
Block a user