DB생성 커맨드 수정
This commit is contained in:
@@ -20,7 +20,7 @@ docker pull postgres:14
|
||||
```
|
||||
- postgres 실행
|
||||
```
|
||||
docker run -v ./:/var/lib/postgresql/data/pgdata --network mastodon --name mastodon-db -e POSTGRES_PASSWORD=ios2011a! -d postgres:14
|
||||
docker run -v ./:/var/lib/postgresql/data --network mastodon --name mastodon-db -e POSTGRES_PASSWORD=ios2011a! -e PGDATA=/var/lib/postgresql/data/pgdata -d postgres:14
|
||||
```
|
||||
> postgres에 마운트할 디렉토리로 이동한 다음 커맨드 수행 (또는 마운트할 디렉토리를 입력 <span style='color:red'>./</span> 부분)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user