From dcc0c844be1e9576ece599d0b738abea9bb1b0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Sat, 28 Jan 2023 14:00:15 +0000 Subject: [PATCH] =?UTF-8?q?DB=EC=83=9D=EC=84=B1=20=EC=BB=A4=EB=A7=A8?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f46b52e..4ddb6b1 100644 --- a/README.md +++ b/README.md @@ -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에 마운트할 디렉토리로 이동한 다음 커맨드 수행 (또는 마운트할 디렉토리를 입력 ./ 부분)