From 23a5a75778e7eb8bd143de42e0a496ff59faeebb Mon Sep 17 00:00:00 2001 From: かひわし4(バージョン1) Date: Sun, 21 Apr 2019 23:58:15 +0900 Subject: Docker: Remove quotes in docker_example.env (#4765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker does not parse quotes in env_file. As follows if enclosed in quotation marks. docker_example.env: POSTGRES_PASSWORD="password" Environment value in Misskey container: $ echo $POSTGRES_PASSWORD "password" Some users may see this behavior as unexpected. Dockerはenv_fileのクォーテーションマークを解析しません。 もし値がクォーテーションマークで囲まれていた場合は以下のような動作になります。 docker_example.env: POSTGRES_PASSWORD="password" Misskeyのコンテナ内の環境変数: $ echo $POSTGRES_PASSWORD "password" この動作を予期しない動作のように思うユーザーがいるかもしれません。 --- .config/docker_example.env | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.config/docker_example.env') diff --git a/.config/docker_example.env b/.config/docker_example.env index 411d93659b..7a0261524b 100644 --- a/.config/docker_example.env +++ b/.config/docker_example.env @@ -1,5 +1,4 @@ # db settings -POSTGRES_PASSWORD="example-misskey-pass" -POSTGRES_USER="example-misskey-user" -POSTGRES_DB="misskey" - +POSTGRES_PASSWORD=example-misskey-pass +POSTGRES_USER=example-misskey-user +POSTGRES_DB=misskey -- cgit v1.2.3-freya