{"id":11266,"date":"2024-05-26T09:35:26","date_gmt":"2024-05-26T01:35:26","guid":{"rendered":"https:\/\/www.1ai.net\/?p=11266"},"modified":"2024-05-26T09:36:19","modified_gmt":"2024-05-26T01:36:19","slug":"%e4%b8%80%e9%94%ae%e5%85%8d%e8%b4%b9%e9%83%a8%e7%bd%b2%e7%a7%81%e4%ba%bachatgpt%e7%bd%91%e9%a1%b5%e5%ba%94%e7%94%a8%ef%bc%8c%e4%bd%bf%e7%94%a8docker%e5%bf%ab%e9%80%9f%e6%90%ad%e5%bb%ba%e4%b8%93","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/11266.html","title":{"rendered":"Deploy your own ChatGPT web application for free with one click. Use Docker to quickly build your own ChatGPT website"},"content":{"rendered":"<p data-track=\"1\" data-pm-slice=\"0 0 []\">This time we are going to introduce an AI project.<strong>You can deploy private <a href=\"https:\/\/www.1ai.net\/en\/tag\/chatgpt\" title=\"[View articles tagged with [ChatGPT]]\" target=\"_blank\" >ChatGPT<\/a> <a href=\"https:\/\/www.1ai.net\/en\/tag\/%e7%bd%91%e9%a1%b5%e5%ba%94%e7%94%a8\" title=\"[See articles with [page application] labels]\" target=\"_blank\" >Web Application<\/a>, and supports NextChat (project name ChatGPT-Next-Web) with GPT3, GPT4 &amp; Gemini Pro models<\/strong> .<\/p>\n<p data-track=\"3\">github address:<em>https:\/\/github.com\/ChatGPTNextWeb\/ChatGPT-Next-Web<\/em><\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11267\" title=\"get-572\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-572.jpg\" alt=\"get-572\" width=\"1080\" height=\"211\" \/><\/div>\n<h1 class=\"pgc-h-arrow-right\" spellcheck=\"false\" data-track=\"4\">How to deploy<\/h1>\n<p data-track=\"5\">Image pull:<\/p>\n<pre><code>docker pull yidadaa\/chatgpt-next-web\r\n<\/code><\/pre>\n<p data-track=\"7\">Run it:<\/p>\n<pre><code>docker run -d -p 3000:3000 \\ -e OPENAI_API_KEY=sk-xxxx \\ -e CODE=page access password\\ yidadaa\/chatgpt-next-web<\/code><\/pre>\n<p data-track=\"10\">Generally speaking, we can stop here. We can use IP + port (3000) to access the project we just deployed:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11268\" title=\"get-573\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-573.jpg\" alt=\"get-573\" width=\"1080\" height=\"677\" \/><\/div>\n<p data-track=\"11\">However, you cannot use it directly at this time. You need to jump to this page through the &quot;Login&quot; or &quot;Settings&quot; link provided in the dialog box to set the password or API key:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11269\" title=\"get-574\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-574.jpg\" alt=\"get-574\" width=\"1079\" height=\"680\" \/><\/div>\n<p data-track=\"12\">After configuration, because you are using a free API_KEY, you also need to enable the &quot;Custom Interface&quot; in the settings, otherwise the conversation will not be able to proceed normally:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11270\" title=\"get-575\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-575.jpg\" alt=\"get-575\" width=\"1080\" height=\"479\" \/><\/div>\n<p data-track=\"13\">Click the settings icon in the lower left corner to enter the settings page, find &quot;Custom Interface&quot; and turn it on, then set the interface address and API Key:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11271\" title=\"get-576\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-576.jpg\" alt=\"get-576\" width=\"1080\" height=\"484\" \/><\/div>\n<blockquote>\n<p data-track=\"14\"><em><strong>The interface address and free API Key will be updated in the next article~<\/strong><\/em><\/p>\n<\/blockquote>\n<p data-track=\"15\">Then we can use it normally:<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11272\" title=\"get-577\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-577.jpg\" alt=\"get-577\" width=\"1079\" height=\"658\" \/><\/div>\n<h1 class=\"pgc-h-arrow-right\" spellcheck=\"false\" data-track=\"16\">Replenish<\/h1>\n<p data-track=\"17\">NextChat also provides a mask function, which is actually a series of preset roles that allow users to quickly create conversations for certain scenarios.<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11273\" title=\"get-578\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-578.jpg\" alt=\"get-578\" width=\"1080\" height=\"481\" \/><\/div>\n<p data-track=\"18\">It can quickly answer the scenario and carry some pictures (not shown here because the provided picture address is not accessible):<\/p>\n<div class=\"pgc-img\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11274\" title=\"get-579\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/get-579.jpg\" alt=\"get-579\" width=\"1080\" height=\"538\" \/><\/div>\n<p data-track=\"19\">Next to the mask function there is also a plugin function, but it is still under development.<\/p>\n<p data-track=\"20\">If you are interested, you can try it yourself.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>This is also an AI project, NextChat (project name ChatGPT-Next-Web), which is a free one-click deployment of a private ChatGPT web app with support for GPT3, GPT4 &amp; Gemini Pro models. github address: https:\/\/github.com\/ChatGPTNextWeb\/ChatGPT-Next-Web How to deploy Image pull: docker pull yidadaa\/chatgpt-next-web run Up: docker run -d -p 3000:3000 \\<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[177,2763,2762],"collection":[],"class_list":["post-11266","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-chatgpt","tag-docker","tag-2762"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=11266"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11266\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=11266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=11266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=11266"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=11266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}