{"id":6450,"date":"2026-06-04T17:01:04","date_gmt":"2026-06-04T09:01:04","guid":{"rendered":"https:\/\/blog.coolcoding.cn\/?p=6450"},"modified":"2026-06-04T17:04:10","modified_gmt":"2026-06-04T09:04:10","slug":"multica%e7%a7%81%e6%9c%89%e5%8c%96%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=6450","title":{"rendered":"Multica\u79c1\u6709\u5316\u90e8\u7f72"},"content":{"rendered":"\n<p>MacOS\u4e0a\u5b89\u88c5\uff0c\u4e3b\u8981\u53c2\u8003\u6587\u6863<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/multica-ai\/multica\/blob\/main\/SELF_HOSTING.md\">https:\/\/github.com\/multica-ai\/multica\/blob\/main\/SELF_HOSTING.md<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/multica-ai\/multica\/blob\/main\/SELF_HOSTING_ADVANCED.md\">https:\/\/github.com\/multica-ai\/multica\/blob\/main\/SELF_HOSTING_ADVANCED.md<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5fc5\u8981\u73af\u5883<\/h1>\n\n\n\n<p>1\u3001\u5b89\u88c5Docker<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5b89\u88c5\u73af\u5883<\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/multica-ai\/multica.git\ncd multica\nmake selfhost<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">\u914d\u7f6e<\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>\u62f7\u8d1d multica\/.env.example \u4e3a multica\/.env\n\n\u4fee\u6539.env\u91cc\u9762\u7684\u5185\u5bb9\nAPP_ENV=development\nMULTICA_DEV_VERIFICATION_CODE=888888\nJWT_SECRET=&lt;\u968f\u4fbf\u586b\u4e00\u4e32\u6587\u672c&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u4fee\u6539docker-compose.selfhost.yml\uff0c\u5426\u5219\u5176\u5b83\u673a\u5668\u65e0\u6cd5\u8bbf\u95ee\n\n- \"127.0.0.1:${BACKEND_PORT:-${API_PORT:-${SERVER_PORT:-${PORT:-8080}}}}:8080\"\n\u4e3a\n- \"0.0.0.0:${BACKEND_PORT:-${API_PORT:-${SERVER_PORT:-${PORT:-8080}}}}:8080\"\n\n- \"127.0.0.1:${FRONTEND_PORT:-3000}:3000\"\n\u4e3a\n- \"0.0.0.0:${FRONTEND_PORT:-3000}:3000\"<\/code><\/pre>\n\n\n\n<p>\u82e5\u8981\u751f\u6548\uff0c\u9700\u8981\u64cd\u4f5cdocker<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ \u505c\u6b62\ndocker compose -f docker-compose.selfhost.yml down\n\/\/ \u542f\u52a8\r\ndocker compose -f docker-compose.selfhost.yml up -d<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5176\u5b83\u673a\u5668\u914d\u7f6e<\/h1>\n\n\n\n<p>\u4ee5Windows\u4e3a\u4f8b\u5b50\uff0c\u5b89\u88c5\u597dmultica\u5b88\u62a4\u8005\u8fdb\u7a0b\u540e\uff0c\u4fee\u6539 ~\/.multica\/config.json \u4e2d\u7684\u914d\u7f6e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"server_url\": \"http:\/\/x.x.x.x:8080\",\n\"app_url\": \"http:\/\/x.x.x.x:3000\",<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u8fd0\u884c multica login\uff0c\u5b8c\u6210\u5b89\u88c5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MacOS\u4e0a\u5b89\u88c5\uff0c\u4e3b\u8981\u53c2\u8003\u6587\u6863 https:\/\/github.com\/multica-ai\/multica\/b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6450"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6450"}],"version-history":[{"count":6,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6450\/revisions"}],"predecessor-version":[{"id":6457,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6450\/revisions\/6457"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}