{"id":283,"date":"2023-05-27T02:53:51","date_gmt":"2023-05-26T18:53:51","guid":{"rendered":"https:\/\/blog.laning.cc\/?p=283"},"modified":"2024-04-14T19:04:28","modified_gmt":"2024-04-14T11:04:28","slug":"gitea%e6%9c%8d%e5%8a%a1%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/","title":{"rendered":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u524d\u8a00<\/h2>\n\n\n\n<p>\u5173\u4e8egitea\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u57fa\u672c\u7684\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/docs.gitea.com\/zh-cn\/\">\u5b98\u65b9\u6587\u6863<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7279\u6027<\/h2>\n\n\n\n<ul>\n<li>\u6b64\u4e3a\u5185\u7f51\u4f7f\u7528\uff0c\u56e0\u800c\u6ca1\u6709\u914d\u7f6ecaddy\u6216nginx\u7b49\u4ee3\u7406<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u914d\u7f6e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1.\u542f\u52a8docker\u670d\u52a1<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>docker-compose up -d<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2.IP:port\u901a\u8fc7\u6d4f\u89c8\u5668\u914d\u7f6e<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.laning.cc\/wp-content\/uploads\/2023\/05\/install1.png\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\"\/><\/div><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.laning.cc\/wp-content\/uploads\/2023\/05\/install2.png\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install2-1024x497.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install2-1024x497.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\"\/><\/div><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5173\u4e8egitea\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u57fa\u672c\u7684\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863 \u7279\u6027 \u914d\u7f6e 1.\u542f\u52a8docker\u670d\u52a1 docker [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e &ndash; Laning &#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e &ndash; Laning &#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5173\u4e8egitea\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u57fa\u672c\u7684\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863 \u7279\u6027 \u914d\u7f6e 1.\u542f\u52a8docker\u670d\u52a1 docker [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/\" \/>\n<meta property=\"og:site_name\" content=\"Laning &#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-26T18:53:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-14T11:04:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"laning\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.laning.org\/#website\",\"url\":\"https:\/\/blog.laning.org\/\",\"name\":\"\\u8fa3\\u5b81\\u7684\\u535a\\u5ba2\",\"description\":\"Learning on the go\",\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.laning.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1.png\",\"contentUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1.png\",\"width\":1892,\"height\":941},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage\",\"url\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/\",\"name\":\"gitea\\u670d\\u52a1\\u5b89\\u88c5\\u914d\\u7f6e &ndash; Laning &#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage\"},\"datePublished\":\"2023-05-26T18:53:51+00:00\",\"dateModified\":\"2024-04-14T11:04:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/blog.laning.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"gitea\\u670d\\u52a1\\u5b89\\u88c5\\u914d\\u7f6e\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage\"},\"author\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"headline\":\"gitea\\u670d\\u52a1\\u5b89\\u88c5\\u914d\\u7f6e\",\"datePublished\":\"2023-05-26T18:53:51+00:00\",\"dateModified\":\"2024-04-14T11:04:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage\"},\"wordCount\":7,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"image\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png\",\"articleSection\":[\"Docker\",\"Github\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\",\"name\":\"laning\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"caption\":\"laning\"},\"logo\":{\"@id\":\"https:\/\/blog.laning.org\/#personlogo\"},\"sameAs\":[\"https:\/\/blog.laning.org\"],\"url\":\"https:\/\/blog.laning.org\/index.php\/author\/laning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e &ndash; Laning &#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/","og_locale":"zh_CN","og_type":"article","og_title":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e &ndash; Laning &#039;s Blog","og_description":"\u524d\u8a00 \u5173\u4e8egitea\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u57fa\u672c\u7684\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863 \u7279\u6027 \u914d\u7f6e 1.\u542f\u52a8docker\u670d\u52a1 docker [&hellip;]","og_url":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/","og_site_name":"Laning &#039;s Blog","article_published_time":"2023-05-26T18:53:51+00:00","article_modified_time":"2024-04-14T11:04:28+00:00","og_image":[{"url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"laning"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/blog.laning.org\/#website","url":"https:\/\/blog.laning.org\/","name":"\u8fa3\u5b81\u7684\u535a\u5ba2","description":"Learning on the go","publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.laning.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage","inLanguage":"zh-CN","url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1.png","contentUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1.png","width":1892,"height":941},{"@type":"WebPage","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage","url":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/","name":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e &ndash; Laning &#039;s Blog","isPartOf":{"@id":"https:\/\/blog.laning.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage"},"datePublished":"2023-05-26T18:53:51+00:00","dateModified":"2024-04-14T11:04:28+00:00","breadcrumb":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.laning.org\/"},{"@type":"ListItem","position":2,"name":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e"}]},{"@type":"Article","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#article","isPartOf":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage"},"author":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"headline":"gitea\u670d\u52a1\u5b89\u88c5\u914d\u7f6e","datePublished":"2023-05-26T18:53:51+00:00","dateModified":"2024-04-14T11:04:28+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#webpage"},"wordCount":7,"commentCount":0,"publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"image":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/install1-1024x509.png","articleSection":["Docker","Github"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/283\/#respond"]}]},{"@type":["Person","Organization"],"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93","name":"laning","image":{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/#personlogo","inLanguage":"zh-CN","url":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","caption":"laning"},"logo":{"@id":"https:\/\/blog.laning.org\/#personlogo"},"sameAs":["https:\/\/blog.laning.org"],"url":"https:\/\/blog.laning.org\/index.php\/author\/laning\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/283"}],"collection":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":2,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}