{"id":5214,"date":"2021-04-24T22:27:09","date_gmt":"2021-04-24T13:27:09","guid":{"rendered":"https:\/\/kumapress.com\/?p=5214"},"modified":"2021-04-24T22:27:14","modified_gmt":"2021-04-24T13:27:14","slug":"docker%e7%92%b0%e5%a2%83%e3%81%a7postgresql%e3%81%8c%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e5%bf%85%e9%a0%88%e3%81%a8%e3%81%8a%e3%81%a3%e3%81%97%e3%82%83%e3%82%8b","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=5214","title":{"rendered":"Docker\u74b0\u5883\u3067Postgresql\u304c\u30d1\u30b9\u30ef\u30fc\u30c9\u5fc5\u9808\u3068\u304a\u3063\u3057\u3083\u308b"},"content":{"rendered":"\n<p><span style=\"font-size: 14pt;\">docker\u3067nodejs + Postgresql \u306a\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u3061\u3068\u30b5\u30dc\u3063\u3066\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u66f8\u304b\u306a\u3044\u3068\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u3002\u3002\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">Error: Database is uninitialized and superuser password is not specified.<\/span><br \/><span style=\"font-size: 14pt;\">You must specify POSTGRES_PASSWORD to a non-empty value for the superuser.<\/span><br \/><span style=\"font-size: 14pt;\">For example, &#8220;-e POSTGRES_PASSWORD=password&#8221; on &#8220;docker run&#8221;.<\/span><br \/><br \/><span style=\"font-size: 14pt;\">\u3053\u308c\u3082\u3046\u4e00\u3064\u306e\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u4e0b\u8a18\u3082\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">You may also use &#8220;POSTGRES_HOST_AUTH_METHOD=trust&#8221; to allow all connections without a password.<\/span><br \/><span style=\"font-size: 14pt;\">\u305f\u3060\u3057\u3002\u3002\u3002<\/span><br \/><span style=\"font-size: 14pt;\">This is *not* recommended.<\/span><br \/><span style=\"font-size: 14pt;\">\u3060\u305d\u3046\u3067\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u305d\u308a\u3083\u305d\u3046\u304b\u3002\u3002\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">\u3081\u3063\u3061\u3083\u3001\u30b7\u30e7\u30fc\u30c8\u306e\u5099\u5fd8\u9332\u3067\u3057\u305f(^^)<\/span><\/p>\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>docker\u3067nodejs + Postgresql \u306a\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002\u3061\u3068\u30b5\u30dc\u3063\u3066\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u66f8\u304b\u306a\u3044\u3068\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u3002\u3002\u3002 Error: Database is uninitialized and superu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[1],"tags":[179,48],"class_list":["post-5214","post","type-post","status-publish","format-standard","hentry","category-1","tag-docker","tag-postgresql"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5214"}],"version-history":[{"count":2,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5214\/revisions"}],"predecessor-version":[{"id":5216,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5214\/revisions\/5216"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}