diff options
| author | かひわし4(バージョン1) <khws4v1@gmail.com> | 2019-04-21 23:58:15 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-04-21 23:58:15 +0900 |
| commit | 23a5a75778e7eb8bd143de42e0a496ff59faeebb (patch) | |
| tree | 6b2523eadd92a022035f5829e6e25f5487c69e5f /.config/docker_example.env | |
| parent | Fix: リモートユーザーの修復処理が自動的に実行されない... (diff) | |
| download | sharkey-23a5a75778e7eb8bd143de42e0a496ff59faeebb.tar.gz sharkey-23a5a75778e7eb8bd143de42e0a496ff59faeebb.tar.bz2 sharkey-23a5a75778e7eb8bd143de42e0a496ff59faeebb.zip | |
Docker: Remove quotes in docker_example.env (#4765)
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"
この動作を予期しない動作のように思うユーザーがいるかもしれません。
Diffstat (limited to '.config/docker_example.env')
| -rw-r--r-- | .config/docker_example.env | 7 |
1 files changed, 3 insertions, 4 deletions
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 |