{"id":34608,"date":"2024-01-13T15:44:31","date_gmt":"2023-04-19T09:06:55","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/"},"modified":"2024-05-04T18:15:51","modified_gmt":"2024-05-04T10:15:51","slug":"synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/","title":{"rendered":"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4"},"content":{"rendered":"<p>\u6211\u5728 Synology DSM 7.1 \u4e0a\u4f7f\u7528 Docker \u5305\u6765\u6258\u7ba1 Nextcloud \u7684\u65b9\u6cd5\u3002\u56e0\u4e3a\u6211\u89c9\u5f97\u5173\u4e8e\u8fd9\u4e2a\u7684\u65e5\u8bed\u6587\u6863\u4e0d\u591a\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u8bb0\u5f55\u4e0b\u6765\u3002<br \/>\n\u53e6\u5916\uff0c\u6211\u4f1a\u52aa\u529b\u8fbe\u5230\u5b89\u5168\u548c\u8bbe\u7f6e\u8b66\u544a\u4e2d\u663e\u793a\u201c\u5df2\u901a\u8fc7\u6240\u6709\u68c0\u67e5\u201d\u7684\u76ee\u6807\u3002\u4e3a\u4e86\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u6211\u4f1a\u505a\u4e00\u4e9b\u8f83\u4e3a\u5192\u9669\u7684\u5c1d\u8bd5\u3002<\/p>\n<h1>\u524d\u63d0 t\u00ed)<\/h1>\n<p>\u5047\u8bbe\u4ee5\u4e0b\u73af\u5883\u5df2\u51c6\u5907\u5c31\u7eea\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Synology \u793e\u88fd DiskStation NAS \u304c\u3042\u308b\u3053\u3068\u3002DSM\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f7.x<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Let&#8217;s Encrypt \u3067 Synology DSM (\u5927\u96d1\u628a\u306b\u8a00\u3048\u3070 Synology NAS\u306e\u7ba1\u7406\u753b\u9762\u306e\u3053\u3068\u3067\u3059) \u306b\u5bfe\u3057\u3066SSL\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d8\u30a2\u30d4\u30f3NAT\u306b\u5bfe\u5fdc\u3057\u305f\u30eb\u30fc\u30bf\u30fc\u3067\u3042\u308b\u3053\u3068\uff08\u5b85\u5185\u304b\u3089DSM\u306eSSL\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u5fc5\u305a\u3057\u3082\u305d\u306e\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u307b\u304b\u306e\u74b0\u5883\u3067 Nextcloud \u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u7d4c\u9a13\u304c\u3042\u308b\u3053\u3068<\/ul>\n<h1>\u7406\u89e3\u8005\u7684\u7cbe\u534e<\/h1>\n<p>\u5982\u679c\u80fd\u7406\u89e3\u5e76\u6ce8\u610f\u5230\u8fd9\u4e00\u70b9\u8fdb\u884c\u8bbe\u7f6e\uff0c\u90a3\u5c31\u4e0d\u9700\u8981\u9605\u8bfb\u4ee5\u4e0b\u7684\u6587\u7ae0\u4e86\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5916\u90e8\u3078\u306e\u9732\u51fa\u306e\u305f\u3081\u306b Synology DSM \u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u3001Let&#8217;s Encrypt \u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u66f4\u65b0\u3092 Synology DSM \u304c\u52dd\u624b\u306b\u3084\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306bDocker\u30b3\u30f3\u30c6\u30ca\u5916\u306b\u7f6e\u304b\u308c\u308b(\u6c38\u7d9a\u5316\u3055\u308c\u308b)\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u3044\u304f\u3064\u304b\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002MariaDB \u30b3\u30f3\u30c6\u30ca\u306b\u898b\u305b\u308b\u30d5\u30a9\u30eb\u30c0\u30fc\u3068\u3001Nextcloud\u30b3\u30f3\u30c6\u30ca\u306b\u898b\u305b\u308b data \u3068 config \u3068 custom_apps \u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u3064\u3044\u3066\u3001Synology DSM \u306e Everyone \u30e6\u30fc\u30b6\u30fc\u306b\u8aad\u307f\u66f8\u304d\u306e\u8a31\u53ef\u3092\u4e0e\u3048\u3066\u3044\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Nextcloud \u306e config.php \u306b\u4ee5\u4e0b\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/ul>\n<pre class=\"post-pre\"><code>'overwriteprotocol' =&gt; 'https',\r\n'default_phone_region' =&gt; 'JP',\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Nextcloud \u306b\u8a2d\u7f6e\u3055\u308c\u308b .htaccess \u3092\u6c38\u7d9a\u5316\u3057\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u4ee5\u4e0b\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066\u3001<\/ul>\n<pre class=\"post-pre\"><code>RewriteRule ^.well-known\/carddav \/remote.php\/dav\/ [R=301,L]\r\nRewriteRule ^.well-known\/caldav \/remote.php\/dav\/ [R=301,L]\r\n<\/code><\/pre>\n<p>\u6211\u4ee5\u4ee5\u4e0b\u65b9\u5f0f\u8fdb\u884c\u4e86\u6539\u5199\u3002<\/p>\n<pre class=\"post-pre\"><code>RewriteRule ^.well-known\/carddav https:\/\/%{SERVER_NAME}:%{SERVER_PORT}\/remote.php\/dav\/ [R=301,L]\r\nRewriteRule ^.well-known\/caldav https:\/\/%{SERVER_NAME}:%{SERVER_PORT}\/remote.php\/dav\/ [R=301,L]\r\n<\/code><\/pre>\n<ul class=\"post-ul\">Nextcloud \u30b3\u30f3\u30c6\u30ca\u5185\u306b ImageMagick \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/ul>\n<pre class=\"post-pre\"><code>apt update\r\napt install -y imagemagick\r\n<\/code><\/pre>\n<h1>\u4e8b\u524d\u51c6\u5907\u5de5\u4f5c<\/h1>\n<p>\u90a3\u4e48\uff0c\u6211\u4eec\u5f00\u59cb\u5427\u3002\u9996\u5148\u8981\u505a\u597d\u51c6\u5907\u5de5\u4f5c\u3002<\/p>\n<h2>\u8acb\u53d6\u5f97Let&#8217;s Encrypt\u7684\u8b49\u66f8\u3002<\/h2>\n<p>\u5728\u8fd9\u4e2a\u6b65\u9aa4\u4e2d\uff0c\u6211\u4eec\u5c06\u5728\u4f7f\u7528Synology DSM\u83b7\u53d6\u7684Let&#8217;s Encrypt\u8bc1\u4e66\u7684\u57fa\u7840\u4e0a\uff0c\u5728\u5373\u5c06\u6784\u5efa\u7684Nextcloud\u5bb9\u5668\u4e2d\u4e5f\u4f7f\u7528\u5b83\u3002<\/p>\n<p>\u5982\u679c\u60a8\u80fd\u591f\u4f7f\u7528HTTPS\u767b\u5f55\u5230Synology DSM\uff0c\u90a3\u5c31\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u5982\u679c\u60a8\u5c1a\u672a\u8bbe\u7f6e\uff0c\u8bf7\u9605\u8bfb\u4ee5\u4e0b\u5185\u5bb9\u4ee5\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p>\u5982\u4f55\u4f7f\u7528Synology NAS\u4eceLet&#8217;s Encrypt\u83b7\u53d6\u8bc1\u4e66\u7684\u65b9\u6cd5\u662f\u4ec0\u4e48\uff1f<\/p>\n<h2>\u5c06\u5728 Synology DSM \u4e2d\u83b7\u53d6\u7684\u8bc1\u4e66\u914d\u7f6e\u5728 Nextcloud \u4e2d\u4f7f\u7528<\/h2>\n<p>\u5728 Synology DSM \u7684\u63a7\u5236\u53f0\u4e2d\uff0c\u70b9\u51fb\u767b\u5f55\u95e8\u6237\uff0c\u7136\u540e\u8fdb\u5165\u8be6\u7ec6\u8bbe\u7f6e\uff0c\u627e\u5230\u53cd\u5411\u4ee3\u7406\uff0c\u6309\u4ee5\u4e0b\u65b9\u5f0f\u521b\u5efa\u3002<\/p>\n<div>\n<div class=\"post-table\">\u8a2d\u5b9a\u540d\u8a2d\u5b9a\u5024\u30d7\u30ed\u30ad\u30b7\u540d\u3092\u53cd\u8ee2Nextcloud\uff08\u3053\u3053\u306f\u305f\u3060\u306e\u8a2d\u5b9a\u540d\u3092\u66f8\u304f\u3068\u3053\u308d\u3000\u591a\u5206\uff09Target<br \/>\n\u30d7\u30ed\u30c8\u30b3\u30ebHTTPS\u30db\u30b9\u30c8\u540d\u4f55\u3082\u66f8\u304b\u306a\u3044\u30dd\u30fc\u30c8\uff58\uff58\uff58\uff58\uff58\uff08Nextcloud\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u6307\u5b9a\u3059\u308b\u30dd\u30fc\u30c8\u3002\u30eb\u30fc\u30bf\u30fc\u3067\u958b\u3044\u3066\u3042\u308c\u3070\u306a\u3093\u3067\u3082\u3088\u3044\uff09HSTS\u3092\u6709\u52b9\u306b\u3059\u308b\u30c1\u30a7\u30c3\u30af\u30aa\u30f3\uff08\u305f\u3057\u304b\u3053\u308c\u3092\u30aa\u30f3\u306b\u3057\u306a\u3044\u3068Nextcloud\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30a7\u30c3\u30af\u3067\u6012\u3089\u308c\u305f\u6c17\u304c\u3059\u308b\uff09\u9001\u308a\u5148<br \/>\n\u30d7\u30ed\u30c8\u30b3\u30ebHTTP\u30db\u30b9\u30c8\u540dlocalhost\u30dd\u30fc\u30c88088\uff08\u306a\u3093\u3067\u3082\u3088\u3044\uff09<\/div>\n<\/div>\n<p>\u4e0d\u9700\u8981\u66f4\u6539\u81ea\u5b9a\u4e49\u6807\u9898\u6216\u8be6\u7ec6\u8bbe\u7f6e\u9009\u9879\u5361\u3002<\/p>\n<p>\u8bf7\u786e\u4fdd\u5728\u63a7\u5236\u9762\u677f&gt;\u5b89\u5168&gt;\u8bc1\u4e66&gt;\u8bbe\u7f6e\u4e2d\uff0c\u5df2\u9009\u62e9\u7528\u4e8e\u5148\u524d\u6dfb\u52a0\u7684\u76ee\u6807\u7aef\u53e3\u53f7\u8bbe\u7f6e\u7684\u9884\u8ba1\u4f7f\u7528\u7684\u57df\u540d\u8bc1\u4e66\u3002<\/p>\n<p>\u5982\u679c\u5728https:\/\/\u8bc1\u4e66\u7684\u57df\u540d\/\u4e0a\u65e0\u6cd5\u6253\u5f00Synology DSM\uff0c\u5219\u53ef\u80fd\u662f\u8def\u7531\u5668\u4e0d\u652f\u6301Hairpin NAT\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u9700\u8981\u5728Hosts\u4e2d\u505a\u4e00\u4e9b\u8bbe\u7f6e\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/24-0.png\" alt=\"image.png\" \/><\/div>\n<h3>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fv6 Plus\u7f51\u7edc\uff0c\u8bf7&#8230;<\/h3>\n<p>\u8bdd\u9898\u7a0d\u5fae\u504f\u79bb\u4e86\uff0c\u4f46\u662f\u5982\u679c\u4f7f\u7528v6 Plus\u7ebf\u8def\uff0c\u53ef\u7528\u7684IPv4\u7aef\u53e3\u53f7\u5c06\u53d7\u5230\u9650\u5236\u3002<br \/>\n\u5f53\u9700\u8981\u4ece\u4ec5\u6709IPv4\u73af\u5883\u7684\u5916\u90e8\u8bbf\u95eeNextcloud\u65f6\uff0c\u5fc5\u987b\u5728\u53ef\u7528\u7684\u7aef\u53e3\u53f7\u8303\u56f4\u5185\u8bbe\u7f6e\u76ee\u6807\u7aef\u53e3\u53f7\uff0c<br \/>\n\u5426\u5219\u5c06\u65e0\u6cd5\u8bbf\u95ee\u8be5\u670d\u52a1\u3002<\/p>\n<p>\u7531\u4e8e\u4e8b\u540e\u66f4\u6539URL\u592a\u9ebb\u70e6\uff0c\u6240\u4ee5\u6211\u4eec\u5e94\u5f53\u5148\u597d\u597d\u8c03\u67e5\u4e00\u4e0b\u3002<br \/>\nhttp:\/\/ipv4.web.fc2.com\/map-e.html<\/p>\n<h1>\u521b\u5efa\u5171\u4eab\u6587\u4ef6\u5939<\/h1>\n<p>\u5c06Nextcloud\u7684\u6570\u636e\u4ee5\u53caMariaDB\u5bb9\u5668\u7684\u6570\u636e\u5e93\u7b49\u901a\u8fc7Docker\u6c38\u4e45\u4fdd\u5b58\u5728\u8fd9\u4e2a\u5171\u4eab\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p>\u5728\u63a7\u5236\u9762\u677f\u4e2d\uff0c\u9009\u62e9\u5171\u4eab\u6587\u4ef6\u5939\uff0c\u70b9\u51fb\u521b\u5efa\u6309\u94ae\u6765\u521b\u5efa\u4e00\u4e2a\u5171\u4eab\u6587\u4ef6\u5939\u3002<br \/>\n\u53ef\u4ee5\u5c06\u5176\u547d\u540d\u4e3a Nextcloud \u6216\u5176\u4ed6\u540d\u79f0\u3002<\/p>\n<p>\u5783\u573e\u6876\u529f\u80fd\u5c1a\u672a\u542f\u7528\u3002\u7531\u4e8eNextcloud\u4e0a\u5df2\u5b58\u5728\u6b64\u529f\u80fd\u5e76\u4e14\u5728\u4f7f\u7528\u65f6\u66f4\u4e3a\u65b9\u4fbf\uff0c\u56e0\u6b64\u5728Synology\u4e0a\u4e0d\u8fdb\u884c\u542f\u7528\u3002<br \/>\n\u6b64\u5916\uff0c\u5bf9\u4e8e\u6b64\u5171\u4eab\u6587\u4ef6\u5939\u7684\u8bbf\u95ee\u6743\u4ec5\u9650\u4e8e\u901a\u8fc7\u7535\u8111\u767b\u5f55Synology NAS\u7684\u7528\u6237\u3002<\/p>\n<div>\n<div class=\"post-table\">\u8a2d\u5b9a\u540d\u8a2d\u5b9a\u5024\u540d\u524dNextcloud\u3054\u307f\u7bb1\u3092\u6709\u52b9\u306b\u3059\u308b\u30aa\u30d5\u30e6\u30fc\u30b6\u30fc\u8a31\u53ef\u3092\u4f5c\u6210\u81ea\u5206\u306e\u4f5c\u3063\u305f\u30e6\u30fc\u30b6\u30fc\u306e\u307f\u300c\u8aad\u307f\u53d6\u308a\/\u66f8\u304d\u8fbc\u307f\u300d\u306b\u30c1\u30a7\u30c3\u30af<\/div>\n<\/div>\n<h2>\u521b\u5efa\u7528\u4e8e\u5b58\u50a8\u5728Docker\u4e2d\u5b9e\u73b0\u6301\u4e45\u6027\u7684\u6587\u4ef6\u7684\u6587\u4ef6\u5939\u3002<\/h2>\n<p>\u4f7f\u7528\u6587\u4ef6\u7ad9\uff0c\u4e3a\u65b0\u521b\u5efa\u7684Nextcloud\u6587\u4ef6\u5939\u521b\u5efa\u4ee5\u4e0b\u6587\u4ef6\u5939\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">data<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">mysql<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">htaccess<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">config<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">custom_apps<\/ul>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/36-0.png\" alt=\"image.png\" \/><\/div>\n<h2>\u8bbe\u7f6e\u5bf9\u6587\u4ef6\u5939\u7684\u8bbf\u95ee\u6743\u9650<\/h2>\n<p>\u53ea\u6709\u5728\u4e0d\u8fdb\u884c\u6b64\u8bbe\u7f6e\u7684\u60c5\u51b5\u4e0b\uff0c\u624d\u80fd\u542f\u52a8\u4e4b\u540e\u521b\u5efa\u7684 MariaDB \u7684 Docker \u5bb9\u5668\uff0c\u5e76\u4e14\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5bb9\u5668\u9677\u5165\u91cd\u542f\u5faa\u73af\uff0c\u800c Nextcloud \u4f1a\u53d1\u751f\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\uff0c\u65e0\u6cd5\u5f00\u59cb\u8bbe\u7f6e\u3002<\/p>\n<p>\u5728 File Station \u4e2d\uff0c\u53f3\u952e\u70b9\u51fb Nextcloud \u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u7684 &#8220;mysql&#8221; \u6587\u4ef6\u5939\uff0c\u7136\u540e\u9009\u62e9 &#8220;\u5c5e\u6027&#8221;\u3002<br \/>\n\u5728\u6240\u6709\u8005\u9009\u9879\u5361\u4e2d\uff0c\u9009\u62e9\u60a8\u7528\u4e8e\u767b\u5f55\u5230 Synology DSM \u7684\u7528\u6237\uff0c\u7136\u540e\u70b9\u51fb &#8220;\u6743\u9650&#8221; \u9009\u9879\u5361\uff0c\u63a5\u7740\u70b9\u51fb &#8220;\u521b\u5efa&#8221; \u6309\u94ae\u3002<\/p>\n<p>\u70b9\u51fb\u7528\u6237\uff0c\u5f39\u51fa\u7528\u6237\u5217\u8868\uff0c\u9009\u62e9\u201cEveryone\u201d\u8fdb\u884c\u52fe\u9009\u3002<br \/>\n\u7136\u540e\uff0c\u5728\u201c\u6743\u9650\u201d\u5217\u8868\u4e2d\u52fe\u9009\u201c\u8bfb\u53d6\u201d\u548c\u201c\u5199\u5165\u201d\u3002<br \/>\n\u6240\u6709\u5b50\u9879\u76ee\u90fd\u4fdd\u6301\u52fe\u9009\u72b6\u6001\uff0c\u70b9\u51fb\u201c\u5b8c\u6210\u201d\u5373\u53ef\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u9700\u8981\u5728data\u3001config\u548ccustom_apps\u6587\u4ef6\u5939\u4e2d\u8fdb\u884c\u76f8\u540c\u7684\u914d\u7f6e (\u91cd\u8981)\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/42-0.png\" alt=\"image.png\" \/><\/div>\n<h1>\u5728\u8f6f\u4ef6\u5305\u4e2d\u5fc3\u5b89\u88c5Docker\u8f6f\u4ef6\u5305<\/h1>\n<p>Synology \u7d14\u6b63\u306e Docker \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067 Docker \u306e\u5b9f\u884c\u74b0\u5883\u304c\u624b\u306b\u5165\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u9577\u3044\u7269\u306b\u306f\u5dfb\u304b\u308c\u308b\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3002<\/p>\n<p>Synology DSM\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304b\u3089\u300c\u30d1\u30c3\u30b1\u30fc\u30b8\u30bb\u30f3\u30bf\u30fc\u300d\u3092\u8d77\u52d5\u3057\u3001\u300cDocker\u300d\u3092\u691c\u7d22\u3057\u3066\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n\u4eca\u56de\u306f\u3053\u306e\u624b\u9806\u306f\u7b46\u8005\u306f\u305a\u3044\u3076\u3093\u524d\u306b\u5b9f\u65bd\u6e08\u307f\u306e\u305f\u3081\u3001\u4f55\u304b\u8a2d\u5b9a\u9805\u76ee\u304c\u3042\u3063\u305f\u304b\u3069\u3046\u304b\u3082\u308f\u3059\u308c\u3066\u3057\u307e\u3063\u305f\u304c\u3001\u305f\u3076\u3093\u5927\u3057\u305f\u3053\u3068\u306f\u805e\u304b\u308c\u3066\u3044\u306a\u3044\u306f\u305a\u3002<\/p>\n<p>\u5b89\u88c5\u540e\uff0c\u53ef\u4ee5\u70b9\u51fb\u201c\u6253\u5f00\u201d\u6309\u94ae\u3002<\/p>\n<h1>\u4ece\u201c\u6ce8\u518c\u8868\u201d\u4e2d\u4e0b\u8f7d\u6240\u9700\u7684\u56fe\u50cf\u3002<\/h1>\n<p>\u8fd9\u4e2a\u753b\u9762\u7684\u7ffb\u8bd1\u6709\u70b9\u5fae\u5999\uff0cDocker\u955c\u50cf\u88ab\u5168\u90e8\u8868\u8fbe\u6210\u4e86\u201c\u753b\u50cf\u201d\uff0c\u4e0d\u8fc7\u6211\u4e0d\u5728\u610f\u3002<\/p>\n<p>\u5728Docker\u4e2d\u6253\u5f00\u201c\u6ce8\u518c\u8868\u201d\uff0c\u5e76\u4ece\u4e2d\u641c\u7d22\u4ee5\u4e0b\u9879\u76ee\u8fdb\u884c\u201c\u4e0b\u8f7d\u201d\u3002\u672c\u6b21\u4e0b\u8f7d\u5168\u90e8\u4f7f\u7528\u201c\u6700\u65b0\u201d\u7684\u6807\u7b7e\u3002<\/p>\n<p>Nextcloud<br \/>\n\u9752\u3044\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u306e\u3064\u3044\u305f\u300cnextcloud\u300d\u3092\u9078\u629e\u3057\u3066\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u300clatest\u300d\u30bf\u30b0\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p>MariaDB<br \/>\n\u9752\u3044\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u306e\u3064\u3044\u305f\u300cmariadb\u300d\u3092\u9078\u629e\u3057\u3066\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u300clatest\u300d\u30bf\u30b0\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p>Redis<br \/>\n\u9752\u3044\u30c1\u30a7\u30c3\u30af\u30de\u30fc\u30af\u306e\u3064\u3044\u305f\u300credis\u300d\u3092\u9078\u629e\u3057\u3066\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u300clatest\u300d\u30bf\u30b0\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<h1>\u5728\u300c\u5bb9\u5668\u300d\u9009\u9879\u5361\u4e2d\u521b\u5efa\u5bb9\u5668<\/h1>\n<p>\u521b\u5efa\u4e4b\u524d\u4e0b\u8f7d\u7684 Nextcloud\u3001MariaDB \u548c Redis \u7684\u5bb9\u5668\u3002<br \/>\n\u5c3d\u7ba1\u6709\u6307\u5b9a\u5bb9\u5668\u540d\u79f0\uff0c\u4f46\u5b9e\u9645\u4e0a\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u540d\u79f0\u3002<\/p>\n<h2>\u521b\u5efaMariaDB\u5bb9\u5668<\/h2>\n<p>\u4ece\u201c\u521b\u5efa\u5bb9\u5668\u201d\u4e2d\u9009\u62e9\u56fe\u50cf\u540d\u79f0\u201cmariadb\uff1alatest\u201d\uff0c\u7136\u540e\u7ee7\u7eed\u3002\u63a5\u4e0b\u6765\uff0c\u5728\u201c\u9009\u62e9\u7f51\u7edc\u201d\u4e2d\u9009\u62e9\u201c\u6865\u63a5\u201d\uff0c\u7136\u540e\u7ee7\u7eed\u3002<\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u5c06\u5bb9\u5668\u540d\u79f0\u8bbe\u7f6e\u4e3a\u201cNextcloud_mariadb\u201d\u5e76\u542f\u7528\u81ea\u52a8\u91cd\u542f\u529f\u80fd\u3002<br \/>\n\u8fd9\u6b21\u5728\u8fd9\u91cc\u70b9\u51fb\u201c\u8be6\u7ec6\u8bbe\u7f6e\u201d\uff0c\u5e76\u5728\u201c\u73af\u5883\u201d\u9009\u9879\u5361\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u53c2\u6570\u3002<\/p>\n<div>\n<div class=\"post-table\">\u8a2d\u5b9a\u540d\u8a2d\u5b9a\u5024MYSQL_DATABASEnextcloudMYSQL_USERnextcloudMYSQL_PASSWORD\u4f55\u3089\u304b\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\uff08\u4e71\u6570\u3068\u304b\uff09MYSQL_ROOT_PASSWORD\u4f55\u3089\u304b\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\uff08\u4e71\u6570\u3068\u304b\uff09<\/div>\n<\/div>\n<p>\u672c\u5730\u7aef\u53e3\u4ecd\u7136\u4fdd\u6301\u81ea\u52a8\u8bbe\u7f6e\uff0c\u5bb9\u5668\u7684\u7aef\u53e3\u548c\u7c7b\u578b\u4e0d\u53d8\uff0c\u7136\u540e\u7ee7\u7eed\u3002<br \/>\n\u5728\u5377\u8bbe\u7f6e\u4e2d\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u6587\u4ef6\u5939\u3002<\/p>\n<div>\n<div class=\"post-table\">\u30d5\u30a1\u30a4\u30eb\uff0f\u30d5\u30a9\u30eb\u30c0\u30de\u30a6\u30f3\u30c8\u30d1\u30b9\u8aad\u307f\u53d6\u308a\u5c02\u7528\/Nextcloud\/mysql\/var\/lib\/mysql\u30aa\u30d5<\/div>\n<\/div>\n<p>\u5728\u6458\u8981\u5c4f\u5e55\u4e0a\uff0c\u52fe\u9009\u201c\u5728\u5411\u5bfc\u7ed3\u675f\u540e\u8fd0\u884c\u6b64\u5bb9\u5668\u201d\u7684\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u201c\u5b8c\u6210\u201d\u6309\u94ae\u3002<br \/>\n\u82e5\u4e00\u5207\u987a\u5229\uff0c\u60a8\u5728\u8fd9\u91cc\u521b\u5efa\u7684\u5bb9\u5668\u5c06\u4f1a\u5904\u4e8e\u8fd0\u884c\u72b6\u6001\uff0c\u4f46\u5982\u679c\u5bb9\u5668\u9677\u5165\u4e86\u610f\u5916\u91cd\u542f\u5faa\u73af\uff0c\u8bf7\u786e\u4fdd\u5728File Station\u4e2d\u4e3amysql\u6587\u4ef6\u5939\u6388\u4e88\u4e86Everyone\u7684\u6743\u9650\u3002<\/p>\n<h2>\u521b\u5efa\u4e00\u4e2a Redis \u5bb9\u5668<\/h2>\n<p>\u9009\u62e9\u4ece\u201c\u521b\u5efa\u5bb9\u5668\u201d\u5f00\u59cb\u7684\u955c\u50cf\u540d\u79f0\u4e3a\u201credis:latest\u201d\uff0c\u7136\u540e\u7ee7\u7eed\u3002<br \/>\n\u63a5\u4e0b\u6765\uff0c\u5728\u201c\u9009\u62e9\u7684\u7f51\u7edc\u4f7f\u7528\u201d\u4e2d\u9009\u62e9\u201c\u6865\u63a5\u201d\uff0c\u7136\u540e\u7ee7\u7eed\u524d\u8fdb\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u30b3\u30f3\u30c6\u30ca\u540d\u3092\u300cNextcloud_redis\u300d\u306b\u8a2d\u5b9a\u3057\u3001\u3084\u306f\u308a\u81ea\u52d5\u518d\u8d77\u52d5\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<br \/>\n\u30dd\u30fc\u30c8\u306e\u8a2d\u5b9a\u3084\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u8a2d\u5b9a\u306f\u4f55\u3082\u89e6\u3089\u306a\u304f\u3066\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<br \/>\n\u8981\u7d04\u306e\u753b\u9762\u3067\u300c\u30a6\u30a3\u30b6\u30fc\u30c9\u7d42\u4e86\u5f8c\u3001\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u5b9f\u884c\u300d\u306e\u30c1\u30a7\u30c3\u30af\u306f\u3044\u308c\u305f\u307e\u307e\u300c\u5b8c\u4e86\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u53ea\u8981\u4e0d\u8fdb\u884c\u4efb\u4f55\u66f4\u6539\uff0c\u5305\u62ec\u6301\u7eed\u8bbe\u7f6e\uff0c\u5728\u6ca1\u6709\u95ee\u9898\u7684\u60c5\u51b5\u4e0b\u5e94\u8be5\u53ef\u4ee5\u542f\u52a8\u3002<br \/>\n\u5982\u679c\u4e0d\u80fd\u542f\u52a8\uff0c\u90a3\u5c31\u5b8c\u86cb\u4e86\u3002\u6211\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u51fa\u4e86\u95ee\u9898\u3002<\/p>\n<h2>\u521b\u5efaNextcloud\u5bb9\u5668<\/h2>\n<p>\u4ece\u521b\u5efa\u5bb9\u5668\u83dc\u5355\u4e2d\u9009\u62e9\u56fe\u50cf\u540d\u79f0\u4e3a&#8221;nextcloud:latest&#8221;\uff0c\u7136\u540e\u7ee7\u7eed\u64cd\u4f5c\u3002\u63a5\u4e0b\u6765\uff0c\u5728&#8221;\u9009\u62e9\u7f51\u7edc&#8221;\u4e2d\u9009\u62e9&#8221;bridge&#8221;\uff0c\u7136\u540e\u70b9\u51fb\u4e0b\u4e00\u6b65\u3002<\/p>\n<p>\u30b3\u30f3\u30c6\u30ca\u540d\u306b\u300cNextcloud_app\u300d\u3068\u5165\u529b\u3001\u81ea\u52d5\u518d\u8d77\u52d5\u3092\u6709\u52b9\u306b\u3057\u3066<br \/>\n\u3053\u3053\u3067\u3082 MariaDB\u306e\u30b3\u30f3\u30c6\u30ca\u3068\u540c\u69d8\u306b\u300c\u8a73\u7d30\u8a2d\u5b9a\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u7d9a\u3044\u3066\u300c\u30ea\u30f3\u30af\u300d\u306e\u30bf\u30d6\u3067\u300c\u8ffd\u52a0\u300d\u3092\uff12\u56de\u30af\u30ea\u30c3\u30af\u3057\u3001\u51fa\u73fe\u3057\u305f\uff12\u884c\u306e\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u300c\u4fdd\u5b58\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u7d9a\u3044\u3066\u300c\u6b21\u3078\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<div class=\"post-table\">\u30b3\u30f3\u30c6\u30ca\u540d\u30a8\u30a4\u30ea\u30a2\u30b9Nextcloud_mariadbdbNextcloud_redisredis<\/div>\n<\/div>\n<p>\u5728\u672c\u5730\u7aef\u53e3\u4e0a\u8f93\u5165\u5728Synology DSM\u53cd\u5411\u4ee3\u7406\u8bbe\u7f6e\u7684\u201c\u76ee\u6807\u201d\u7aef\u53e3\u53f7\uff0c\u8be5\u7aef\u53e3\u53f7\u662f\u5728\u5f00\u59cb\u7684\u6b65\u9aa4\u4e2d\u8bbe\u7f6e\u7684\u3002<\/p>\n<p>\u8fdb\u884c\u97f3\u91cf\u8bbe\u7f6e\uff0c\u9009\u62e9\u6307\u5b9a\u7684\u6301\u7eed\u5316\u6587\u4ef6\u5939\u5e76\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d\u3002\u70b9\u51fb\u201c\u6dfb\u52a0\u6587\u4ef6\u5939\u201d\uff0c\u4ece\u5df2\u521b\u5efa\u7684Nextcloud\u5171\u4eab\u6587\u4ef6\u5939\u4e2d\u9009\u62e9\u4ee5\u4e0b\u6587\u4ef6\u5939\uff0c\u5e76\u6309\u4ee5\u4e0b\u65b9\u5f0f\u914d\u7f6e\u540e\u7ee7\u7eed\u3002<\/p>\n<div>\n<div class=\"post-table\">\u30d5\u30a1\u30a4\u30eb\uff0f\u30d5\u30a9\u30eb\u30c0\u30de\u30a6\u30f3\u30c8\u30d1\u30b9\u8aad\u307f\u53d6\u308a\u5c02\u7528\/Nextcloud\/config\/var\/www\/html\/config\u30aa\u30d5\/Nextcloud\/data\/var\/www\/data\u30aa\u30d5\/Nextcloud\/custom_apps\/var\/www\/html\/custom_apps\u30aa\u30d5<\/div>\n<\/div>\n<p>\u8bf7\u6ce8\u610f\uff0cdata\u6587\u4ef6\u5939\u662f\u4f4d\u4e8ewww\u6587\u4ef6\u5939\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u800c\u4e0d\u662fhtml\u6587\u4ef6\u5939\u4e0b\u3002<\/p>\n<p>\u5728\u6458\u8981\u753b\u9762\u4e0a\uff0c\u4fdd\u6301\u201c\u5728\u5411\u5bfc\u7ed3\u675f\u540e\u8fd0\u884c\u6b64\u5bb9\u5668\u201d\u9009\u9879\u88ab\u52fe\u9009\u7684\u72b6\u6001\uff0c\u7136\u540e\u70b9\u51fb\u201c\u5b8c\u6210\u201d\u3002<\/p>\n<h1>\u8fdb\u884cNextcloud\u7684\u521d\u59cb\u8bbe\u7f6e<\/h1>\n<p>\u30d6\u30e9\u30a6\u30b6(Google Chrome\u306a\u3069)\u3067<br \/>\nhttps:\/\/ \u8a3c\u660e\u66f8\u306b\u8a18\u8f09\u306e\u30c9\u30e1\u30a4\u30f3\u540d:\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306eTarget\u30dd\u30fc\u30c8\/ \u3067\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067NAS\u306eIP\u30a2\u30c9\u30ec\u30b9\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3068\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u4e2d\u306b 400 Bad Request \u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u5982\u679c\u4e00\u5207\u987a\u5229\uff0c\u60a8\u5c06\u4f1a\u770b\u5230\u4e00\u4e2a\u63d0\u793a\u7a97\u53e3\uff0c\u8981\u6c42\u60a8\u521b\u5efa\u4e00\u4e2a\u7ba1\u7406\u5458\u5e10\u6237\u3002\u4f46\u5982\u679c\u51fa\u73b0&#8221;\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef&#8221;\uff0c\u8bf7\u786e\u4fdd\u60a8\u5728\u6587\u4ef6\u7ba1\u7406\u5668\uff08File Station\uff09\u4e2d\u4e3a Nextcloud \u521b\u5efa\u7684\u5171\u4eab\u6587\u4ef6\u5939\u5185\u7684&#8221;data&#8221;\u6587\u4ef6\u5939\u3001&#8221;config&#8221;\u6587\u4ef6\u5939\u4ee5\u53ca&#8221;custom_apps&#8221;\u6587\u4ef6\u5939\u8bbe\u7f6e\u4e86Everyone\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/p>\n<p>\u5982\u679c\u64cd\u4f5c\u987a\u5229\u5b8c\u6210\uff0c\u8bbe\u7f6e\u5982\u4e0b\uff1a<br \/>\n\u8bf7\u6ce8\u610f\uff0c\u5982\u679c\u4e0d\u5c0f\u5fc3\uff0c\u6570\u636e\u6587\u4ef6\u5939\u53ef\u80fd\u65e0\u6cd5\u6301\u4e45\u5316\uff0c\u5e76\u4e14\u6570\u636e\u5e93\u53ef\u80fd\u4f1a\u8bbe\u7f6e\u4e3aSQLite\uff0c\u8bf7\u5c0f\u5fc3\u3002<\/p>\n<p>\u70b9\u51fb&#8221;\u5b58\u50a8\u548c\u6570\u636e\u5e93\u25bc&#8221;\uff0c\u5c55\u5f00\u8bbe\u7f6e\u9879\uff0c\u8fdb\u884c\u4ee5\u4e0b\u914d\u7f6e\u3002<\/p>\n<p>\u8bf7\u5c06\u6570\u636e\u6587\u4ef6\u5939\u7684\u8f93\u5165\u4ece\/var\/www\/html\/data\u66f4\u6539\u4e3a\u5fc5\u987b\u7684\/var\/www\/data\u3002<\/p>\n<p>\u8bf7\u5728\u201c\u8bbe\u7f6e\u6570\u636e\u5e93\u201d\u4e2d\u9009\u62e9\u201cMySQL\/MariaDB\u201d\u3002<\/p>\n<div>\n<div class=\"post-table\">\u8a2d\u5b9a\u540d\u8a2d\u5b9a\u5024\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u540dnextcloud\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9MariaDB\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b MYSQL_PASSWORD \u306b\u5165\u529b\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540dnextcloud\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30db\u30b9\u30c8\u540dlocalhost\u3068\u6700\u521d\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001db\u306b\u5909\u66f4<\/div>\n<\/div>\n<p>\u5728\u6570\u636e\u5e93\u7684\u4e3b\u673a\u540d\u4e0a\u914d\u7f6e\u7684db\u662f\u6307\u901a\u8fc7Nextcloud_app\u5bb9\u5668\u94fe\u63a5\u8bbe\u7f6e\u7684\u201c\u522b\u540d\u201d\u540d\u79f0\u3002<\/p>\n<p>\u3053\u308c\u3067\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u7d9a\u3044\u3066\u300c\u63a8\u5968\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u306b\u3059\u308b\u304b\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u304c\u3044\u3089\u306a\u3051\u308c\u3070\u300c\u30ad\u30e3\u30f3\u30bb\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<h1>\u8fdb\u5165 Nextcloud \u5bb9\u5668\u7684\u65b9\u6cd5<\/h1>\n<p>\u4ee5\u4e0b\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u304c\u51fa\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u624b\u9806\u306e\u306a\u304b\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306b\u5165\u3063\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u5834\u9762\u304c\u4f55\u56de\u304b\u51fa\u3066\u304d\u307e\u3059\u304c<br \/>\nSynology \u306e Docker \u3067\u306f\u4ee5\u4e0b\u306e\uff12\u901a\u308a\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u4f7f\u7528 Synology DSM \u4e2d\u7684\u201cDocker\u201d \u6765\u6267\u884c\u7684\u65b9\u6cd5.<\/h2>\n<p>\u70b9\u51fb\u542f\u52a8Docker\uff0c\u53cc\u51fb\u5305\u542bNextcloud\u7684\u5bb9\u5668\uff08\u5982\u679c\u6309\u7167\u8fd9\u4e2a\u6b65\u9aa4\u8fdb\u884c\uff0c\u5bb9\u5668\u540d\u4e3a[Nextcloud_app]\uff09\u3002<br \/>\n\u70b9\u51fb\u201c\u7ec8\u7aef\u201d\u9009\u9879\u5361\u3002<\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u6709\u65f6\u5019\u5bb9\u5668\u4f1a\u610f\u5916\u7ec8\u6b62\u3002<br \/>\n\u6211\u4e0d\u77e5\u9053\u539f\u56e0\u3002<\/p>\n<p>\u5728\u8fd9\u91cc\u7a0d\u7b49\u4e00\u4e0b\uff0c\u5f53\u5bb9\u5668\u518d\u6b21\u542f\u52a8\u540e\uff0c\u5927\u7ea6\u5728\u8fd9\u4e2a\u65f6\u5019\u70b9\u51fb&#8221;\u521b\u5efa&#8221;\uff0c\u5c31\u4f1a\u51fa\u73b0&#8221;bash&#8221;\uff0c\u7136\u540e\u70b9\u51fbbash\u3002\u8fd9\u6837\uff0c\u5c31\u53ef\u4ee5\u8fdb\u5165\u8f93\u5165\u547d\u4ee4\u7684\u72b6\u6001\u4e86\u3002<\/p>\n<p>\u5f53\u4e00\u5207\u90fd\u7ed3\u675f\u4e4b\u540e\uff0c\u60a8\u53ef\u4ee5\u5220\u9664bash\u3002<\/p>\n<h2>\u7b2c\u4e8c\u79cd\u65b9\u6cd5&#8230; \u901a\u8fc7SSH\u8fde\u63a5Synology NAS\u5e76\u6267\u884c\u64cd\u4f5c\u7684\u65b9\u5f0f<\/h2>\n<p>\u5728Synology DSM\u7684\u63a7\u5236\u9762\u677f\u4e2d\uff0c\u9009\u62e9\u201c\u7ec8\u7aef\u548cSNMP\u201d\uff0c\u52fe\u9009\u542f\u7528SSH\u670d\u52a1\u3002\u7136\u540e\u4f7f\u7528TeraTerm\u7b49\u5de5\u5177\uff0c\u901a\u8fc7\u663e\u793a\u7684\u7aef\u53e3\u53f7\u8fdb\u884cSSH\u8fde\u63a5\uff0c\u5e76\u4f7f\u7528\u767b\u5f55DSM\u65f6\u7684ID\u548c\u5bc6\u7801\u8fdb\u884c\u767b\u5f55\u3002<\/p>\n<p>\u8f93\u5165sudo docker exec -it Nextcloud_app bash\u53ef\u4ee5\u8fdb\u5165\u5bb9\u5668\u5185\u90e8\uff08\u8bf7\u63d0\u4f9b\u5bb9\u5668\u540d\u79f0\uff09\u3002\u5728\u8fd9\u91cc\uff0c\u8f93\u5165\u662f\u5728\u5bb9\u5668\u5185\u6267\u884c\u547d\u4ee4\u3002\u5b8c\u6210\u540e\uff0c\u8f93\u5165exit\u9000\u51fa\u5bb9\u5668\u3002<\/p>\n<p>\u5982\u679c\u60a8\u60f3\u4ee5Apache\u7528\u6237\u8eab\u4efd\u6267\u884cocc\u547d\u4ee4\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>\nsudo docker exec -u www-data -it Nextcloud_app bash<\/p>\n<h1>\u786e\u4fddNextcloud\u8bbe\u7f6e\u8b66\u544a\u4e0d\u4f1a\u5f39\u51fa\u3002<\/h1>\n<p>\u5728Nextcloud\u7684\u4eea\u8868\u76d8\u4e0a\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7528\u6237\u540d\u7684\u5934\u50cf\u56fe\u6807\uff0c\u7136\u540e\u70b9\u51fb\u201c\u8bbe\u7f6e\u201d\uff0c\u5c31\u53ef\u4ee5\u6253\u5f00Nextcloud\u7684\u8bbe\u7f6e\u9875\u9762\u3002<br \/>\n\u70b9\u51fb\u201c\u7ba1\u7406\u201d\u4e2d\u7684\u201c\u6982\u89c8\u201d\uff0c\u5c06\u4f1a\u663e\u793a\u5b89\u5168\u6027\u548c\u8bbe\u7f6e\u8b66\u544a\u3002<br \/>\n\u5bf9\u4e8e\u4f7f\u7528\u5f53\u524d\u6700\u65b0\u7248\u672c24.0.1\u901a\u8fc7\u4e0a\u8ff0\u8bbe\u7f6e\u65b9\u6cd5\u8fdb\u884c\u8bbe\u7f6e\u65f6\u51fa\u73b0\u7684\u8b66\u544a\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\u89e3\u51b3\u3002<\/p>\n<h2>\u300c\u6211\u5011\u6b63\u5728\u900f\u904e\u5b89\u5168\u7684\u9023\u7dda\u5b58\u53d6\u5be6\u4f8b\uff0c\u4f46\u8a72\u5be6\u4f8b\u6b63\u5728\u7522\u751f\u4e0d\u5b89\u5168\u7684URL\u3002\u300d<\/h2>\n<p>\u6211\u4f1a\u4fee\u6539\u5b58\u653e\u5728Synology NAS\u4e0a\u4e3aNextcloud\u521b\u5efa\u7684\u5171\u4eab\u6587\u4ef6\u5939\u4e2d\u7684\u201cconfig\u201d\u6587\u4ef6\u5939\u4e0b\u7684\u201cconfig.php\u201d\u6587\u4ef6\u3002<\/p>\n<p>\u53ef\u4ee5\u5728\u8bbe\u7f6e\u6587\u4ef6\u7684\u4efb\u610f\u4f4d\u7f6e\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<br \/>\n&#8216;overwriteprotocol&#8217; =&gt; &#8216;https&#8217;<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/99-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u8fd9\u4e2a\u4f1a\u8bdd\uff0c\u867d\u7136\u5199\u4e0b\u5e76\u4fdd\u5b58\u4e86\uff0c\u4f46\u662f\u66f4\u65b0\u4e0d\u4f1a\u7acb\u5373\u663e\u793a\u3002<br \/>\n\u5982\u679c\u591a\u6b21\u5237\u65b0\u9875\u9762\uff0c\u5b83\u5c31\u4f1a\u6d88\u5931\u4e0d\u89c1\u4e86\u3002<\/p>\n<p>\u8ba9\u6211\u4eec\u4e00\u8d77\u8bbe\u7f6e\u4ee5\u4e0b\u7535\u8bdd\u5730\u533a\u7684\u8bbe\u7f6e\u3002<\/p>\n<h2>&#8220;\u60a8\u7684\u7cfb\u7edf\u5c1a\u672a\u8bbe\u7f6e\u9ed8\u8ba4\u7684\u7535\u8bdd\u5730\u533a&#8230;&#8221; (Your system has not yet set a default phone region&#8230;)<\/h2>\n<p>\u5728 Synology NAS \u4e0a\u521b\u5efa\u7684 Nextcloud \u7528\u5171\u4eab\u6587\u4ef6\u5939\u4e2d\uff0c\u4fee\u6539 &#8220;config&#8221; \u6587\u4ef6\u5939\u5185\u7684 &#8220;config.php&#8221;\u3002<\/p>\n<p>\u5728\u8bbe\u5b9a\u6587\u4ef6\u7684\u67d0\u5904\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<br \/>\n&#8216;default_phone_region&#8217; =&gt; &#8216;JP&#8217;\u3002<\/p>\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u5373\u4f7f\u60a8\u5c06\u6b64\u8bbe\u7f6e\u5199\u5165\u5e76\u4fdd\u5b58\uff0c\u5b83\u4e5f\u4e0d\u4f1a\u7acb\u5373\u751f\u6548\u3002<br \/>\n\u53ea\u8981\u4e0a\u8ff0\u8bbe\u7f6e\u6b63\u786e\u65e0\u8bef\uff0c\u5b83\u5c06\u4f1a\u9010\u6e10\u6d88\u5931\u3002<\/p>\n<h2>\u300cWeb\u670d\u52a1\u5668\u672a\u6b63\u786e\u914d\u7f6e\u4ee5\u89e3\u51b3\u201c.\/well-known\/\u3007\u3007\u3007dav\u201d\u95ee\u9898\u300d\u7684\u89e3\u51b3\u65b9\u6cd5\u3002<\/h2>\n<p>.htaccess \u3092\u6c38\u7d9a\u5316\u3057\u3066\u3001\u305d\u308c\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n\u3042\u3093\u307e\u308a\u30b9\u30de\u30fc\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u73fe\u72b6\u3053\u306e\u65b9\u6cd5\u3067\u3057\u304b\u89e3\u6c7a\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>Synology NAS\u306bSSH\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066.htaccess\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\nsudo docker cp Nextcloud_app:\/var\/www\/html\/.htaccess \/volume1\/Nextcloud\/htaccess\/<br \/>\n\u4e0a\u306f\u3001Nextcloud\u306e\u30b3\u30f3\u30c6\u30ca\u540d\u304c Nectcloud_app \u3067 Synology NAS \u306b\u4f5c\u6210\u3057\u305f\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u540d\u304c Nextcloud \u306e\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p>\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\u5728\u4e2d\u6587\u4e2d\u8fdb\u884c\u672c\u5730\u5316\u7684\u8f6c\u8ff0\uff1a<br \/>\n\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\uff0c<\/p>\n<pre class=\"post-pre\"><code>RewriteRule ^\\.well-known\/carddav \/remote.php\/dav\/ [R=301,L]\r\nRewriteRule ^\\.well-known\/caldav \/remote.php\/dav\/ [R=301,L]\r\n<\/code><\/pre>\n<p>\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u7b87\u6240\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>RewriteRule ^\\.well-known\/carddav https:\/\/%{SERVER_NAME}:%{SERVER_PORT}\/remote.php\/dav\/ [R=301,L]\r\nRewriteRule ^\\.well-known\/caldav https:\/\/%{SERVER_NAME}:%{SERVER_PORT}\/remote.php\/dav\/ [R=301,L]\r\n<\/code><\/pre>\n<p>\u968f\u540e\uff0c\u5728Nextcloud_app\u7684Docker\u5bb9\u5668\u7684\u5377\u8bbe\u7f6e\u4e2d\uff0c\u6dfb\u52a0\u6587\u4ef6\u3002<\/p>\n<div>\n<div class=\"post-table\">\u30d5\u30a1\u30a4\u30eb\uff0f\u30d5\u30a9\u30eb\u30c0\u30de\u30a6\u30f3\u30c8\u30d1\u30b9\u8aad\u307f\u53d6\u308a\u5c02\u7528\/Nextcloud\/htaccess\/.htaccess\/var\/www\/html\/.htaccess\u30aa\u30d5<\/div>\n<\/div>\n<p>\u6211\u5011\u5c07\u6dfb\u52a0\u9019\u500b\u8a2d\u5b9a\u3002\u53ef\u80fd\u4e5f\u53ef\u4ee5\u8003\u616e\u5c07\u5176\u8a2d\u70ba\u552f\u8b80\u6a21\u5f0f\u3002<\/p>\n<p>\u66ab\u6642\u9019\u6a23\u5c31\u80fd\u89e3\u6c7a\u554f\u984c\uff0c\u4f46\u7576\u60a8\u5617\u8a66\u5347\u7d1aNextcloud\u6642\uff0c\u5982\u679c\u4e0d\u5148\u522a\u9664\u9019\u500b\u8a2d\u5b9a\uff0c\u5bb9\u5668\u5c07\u9677\u5165\u610f\u5916\u7684\u7d42\u6b62\u5faa\u74b0\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u5728\u672a\u6765\u7684\u7248\u672c\u5347\u7ea7\u4e2d\uff0c\u539f\u59cb\u7684 .htaccess \u6587\u4ef6\u7684\u5185\u5bb9\u53ef\u80fd\u4f1a\u53d1\u751f\u53d8\u5316\u3002\u5982\u679c\u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\uff0c\u5c31\u9700\u8981\u590d\u5236\u8be5\u539f\u59cb\u6587\u4ef6\uff0c\u5e76\u518d\u6b21\u5bf9\u4e0a\u8ff0\u90e8\u5206\u8fdb\u884c\u4fee\u6539\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u53d1\u751f\u4e0d\u597d\u7684\u4e8b\u60c5\u3002\u56e0\u6b64\uff0c\u6211\u4e0d\u5e0c\u671b\u91c7\u7528\u8fd9\u79cd\u65b9\u6cd5\uff0c\u4f46\u76ee\u524d\u8fd8\u6ca1\u6709\u627e\u5230\u597d\u7684\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n<h2>\u300c\u90ae\u4ef6\u670d\u52a1\u5668\u7684\u8bbe\u7f6e\u672a\u8fdb\u884c\u6216\u672a\u786e\u8ba4&#8230;\u300d<\/h2>\n<p>\u5728\u4f7f\u7528Nextcloud\u65f6\uff0c\u60a8\u53ef\u4ee5\u5728\u201c\u4e2a\u4eba\u201d\u6a21\u5757\u4e2d\u8fdb\u884c\u914d\u7f6e\uff0c\u8bbe\u7f6e\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002\u7136\u540e\uff0c\u5728\u201c\u7ba1\u7406\u201d\u6a21\u5757\u7684\u201c\u57fa\u672c\u8bbe\u7f6e\u201d\u4e2d\u914d\u7f6e\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u5e76\u8fdb\u884c\u6d4b\u8bd5\u90ae\u4ef6\u7684\u53d1\u9001\u3002\u4e00\u65e6\u6210\u529f\u6267\u884c\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u8b66\u544a\u5c06\u4f1a\u6d88\u5931\u3002<\/p>\n<p>\u4f60\u6700\u597d\u8bbe\u7f6e\u4e00\u4e0bGmail\u7684\u76f8\u5173\u914d\u7f6e\u3002<br \/>\n\u53c2\u8003\uff1ahttps:\/\/support.google.com\/mail\/answer\/7126229?hl=ja \u7684\u6b65\u9aa42<br \/>\n\u5982\u679c\u4f60\u5728Google\u8d26\u53f7\u4e0a\u542f\u7528\u4e86\u4e24\u6b65\u9a8c\u8bc1\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u751f\u6210\u4e00\u4e2a\u5e94\u7528\u5bc6\u7801\u3002<\/p>\n<h2>\u8fd9\u4e2a\u5b9e\u4f8b\u7684php-imagick\u6a21\u5757\u4e0d\u652f\u6301SVG\u3002<\/h2>\n<p>\u7531\u4e8e\u5bb9\u5668\u5185\u6ca1\u6709\u5b89\u88c5ImageMagick\uff0c\u51fa\u73b0\u4e86\u8fd9\u4e2a\u95ee\u9898\u3002<br \/>\n\u65e2\u7136\u4f7f\u7528\u4e86Nextcloud\u7684\u5b98\u65b9\u955c\u50cf\uff0c\u5e0c\u671b\u8f6f\u4ef6\u76f8\u5173\u4e8b\u9879\u90fd\u80fd\u4fdd\u6301\u5b8c\u7f8e\uff0c\u6211\u771f\u7684\u60f3\u62b1\u6028\u4e00\u4e0b\u3002<br \/>\n\u53ea\u9700\u8981\u5728\u5bb9\u5668\u5185\u6267\u884c\u5b89\u88c5ImageMagick\u7684\u547d\u4ee4\uff0c\u95ee\u9898\u5c31\u80fd\u89e3\u51b3\u4e86\u3002<\/p>\n<p>\u8fdb\u5165\u5bb9\u5668\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>apt update\r\napt install -y imagemagick\r\n<\/code><\/pre>\n<p>\u5220\u9664\u5bb9\u5668\u5e76\u5347\u7ea7Nextcloud\u540e\uff0c\u9700\u8981\u518d\u6b21\u6267\u884c\u6b64\u547d\u4ee4\u3002<\/p>\n<h1>\u55ef\uff1fRedis\u600e\u4e48\u4e86\uff1f<\/h1>\n<p>\u662f\u7684\uff0c\u867d\u7136\u6211\u4eec\u7279\u610f\u521b\u5efa\u4e86MariaDB\u5bb9\u5668\u548cRedis\u5bb9\u5668\uff0c\u4f46\u662f\u5374\u6ca1\u6709\u4f7f\u7528Redis\u3002<br \/>\n\u5728\u65e7\u7248\u672c\u7684Nextcloud\uff08\u5927\u7ea6\u662f15\u7248\u672c\uff1f\uff09\uff0c\u5982\u679c\u4e0d\u914d\u7f6eRedis\uff0c\u5c31\u65e0\u6cd5\u5b8c\u5168\u6e05\u9664\u8bbe\u7f6e\u8b66\u544a\uff0c\u4f46\u73b0\u5728\u5373\u4f7f\u4e0d\u914d\u7f6e\u4e5f\u80fd\u5b8c\u5168\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>\u55ef\uff0c\u53cd\u6b63\u65e2\u7136\u6709\u8fd9\u4e2a\u673a\u4f1a\uff0c\u5c31\u8bd5\u7740\u4f7f\u7528\u4e00\u4e0b\u5427\u3002<br \/>\n\u6211\u4f1a\u4fee\u6539\u5728Synology NAS\u4e0a\u521b\u5efa\u7684Nextcloud\u5206\u4eab\u6587\u4ef6\u5939\u4e2d\u7684&#8221;config&#8221;\u6587\u4ef6\u5939\u91cc\u7684&#8221;config.php&#8221;\u6587\u4ef6\u3002<\/p>\n<p>\u6211\u4f1a\u6dfb\u52a0\u8fd9\u4e2a\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>'memcache.distributed' =&gt; '\\\\OC\\\\Memcache\\\\Redis',\r\n'memcache.locking' =&gt; '\\\\OC\\\\Memcache\\\\Redis',\r\n'redis' =&gt; \r\narray (\r\n  'host' =&gt; 'redis',\r\n  'port' =&gt; 6379,\r\n),\r\n<\/code><\/pre>\n<p>host \u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b redis \u3068\u306f\u3001Nextcloud_app \u30b3\u30f3\u30c6\u30ca\u306e\u30ea\u30f3\u30af\u3067\u8a2d\u5b9a\u3057\u305f\u300c\u30a8\u30a4\u30ea\u30a2\u30b9\u300d\u306e\u540d\u524d\u3067\u3059\u3002<\/p>\n<h1>\u8981\u5347\u7ea7\u4f7f\u7528\u6b64\u65b9\u6cd5\u521b\u5efa\u7684Nextcloud\u5bb9\u5668\u3002<\/h1>\n<p>\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u3001Nextcloud \u3078\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3068\u304d\u306b\u300cNextcloud \u30d0\u30fc\u30b8\u30e7\u30f3xx.xx \u3078\u306e\u66f4\u65b0\u304c\u3042\u308a\u307e\u3059\u300d\u306a\u3069\u306e\u901a\u77e5\u304c\u3067\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305b\u3063\u304b\u304f Docker \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001Docker\u30a4\u30e1\u30fc\u30b8\u306e\u66f4\u65b0\u3067\u5bfe\u5fdc\u3057\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Nextcloud_app \u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Nextcloud_mariadb \u30b3\u30f3\u30c6\u30ca\u3001Nextcloud_redis \u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Synology NAS \u306e\u300cNextcloud\u300d\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u30fc\u306e\u4e2d\u8eab\u5168\u4f53\u3092\u3069\u3053\u304b\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff08\u9762\u5012\u306a\u3089\u305b\u3081\u3066data\u30d5\u30a9\u30eb\u30c0\u4ee5\u5916\u3060\u3051\u3067\u3082\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u305d\u3082\u305d\u3082 data \u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff08\u7a7a\u3067\u3042\u308b\u5834\u5408\u306f\u3001\u6700\u521d\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u6642\u306b\u30c7\u30fc\u30bf\u30d5\u30a9\u30eb\u30c0\u306e\u6c38\u7d9a\u5316\u306b\u5931\u6557\u3057\u3066\u3044\u308b\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Nextcloud_app \u30b3\u30f3\u30c6\u30ca\u3092\u53f3\u30af\u30ea\u30c3\u30af\u2192\u8a2d\u5b9a\u2192\u8a2d\u5b9a\u3092\u30b3\u30d4\u30fc\u3067\u30b3\u30d4\u30fc\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u3063\u3066\u304a\u304f\uff08\u74b0\u5883\u5909\u6570\u306a\u3069\u306e\u8a2d\u5b9a\u304c\u306a\u3093\u3060\u3063\u305f\u304b\u308f\u304b\u3089\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306e\u305f\u3081\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b3\u30d4\u30fc\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Synology DSM\u306e\u753b\u9762\u2192Docker\u2192\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u753b\u9762\u3067\u300cNextcloud\u300d\u3092\u691c\u7d22\u3001\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u30bf\u30b0\u300clatest\u300d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u901a\u77e5\u753b\u9762\u306b Docker \u30a4\u30e1\u30fc\u30b8 %NAME% \u304c\u6b63\u5e38\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f\u3002\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u5f85\u3064<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u300c\u30b3\u30f3\u30c6\u30ca\u300d\u753b\u9762\u3067 Nextcloud_app \u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u300cNextcloud \u306e\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3059\u308b\u300d\u306e\u624b\u9806\u3067\u518d\u3073\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3059\u308b\u3002\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u6c38\u7d9a\u5316\u8a2d\u5b9a\u3084\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u30ea\u30f3\u30af\u8a2d\u5b9a\u3082\u5fd8\u308c\u305a\u306b\u884c\u3046\u3002\u3053\u306e\u3068\u304d\u3001.htaccess\u306e\u6c38\u7d9a\u5316\u306f\u884c\u308f\u306a\u3044\u3053\u3068\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Nextcloud \u3078\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u5b9f\u884c<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u6b63\u5e38\u7d42\u4e86\u3057\u305f\u3089\u3001Nextcloud_app \u30b3\u30f3\u30c6\u30ca\u3092\u4e00\u5ea6\u505c\u6b62\u3057\u3066 .htaccess \u306e\u6c38\u7d9a\u5316\u3092\u884c\u3046\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u518d\u3073\u958b\u59cb\u3059\u308b<\/ol>\n<h2>\u5982\u679c\u5347\u7ea7\u5931\u8d25<\/h2>\n<p>\u5982\u679c\u6570\u636e\u5e93\u7684\u5bb9\u91cf\u8d85\u8fc7\u4e00\u5b9a\u7684\u5927\u5c0f\uff0c\u53ef\u80fd\u9700\u8981\u901a\u8fc7\u547d\u4ee4\u884c\u8fdb\u884c\u5347\u7ea7\u3002<\/p>\n<p>\u901a\u8fc7 &#8220;Nextcloud\u5bb9\u5668\u7684\u8fdb\u5165\u65b9\u6cd5&#8221; \u4e2d\u7684\u65b9\u6cd5\u542f\u52a8\u5bb9\u5668\u7684bash\uff0c\u5728\u7136\u540e\u624b\u52a8\u6267\u884c .\/occ upgrade \u547d\u4ee4\u3002<br \/>\n\u5982\u679c\u5347\u7ea7\u540e\uff0c\u7ef4\u62a4\u6a21\u5f0f\u6ca1\u6709\u81ea\u52a8\u89e3\u9664\uff0c\u5219\u6267\u884c .\/occ maintenance:mode &#8211;off \u547d\u4ee4\u4ee5\u89e3\u9664\u7ef4\u62a4\u6a21\u5f0f\u3002<\/p>\n<pre class=\"post-pre\"><code>www-data@nextcloud_app:~\/html$ .\/occ upgrade\r\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\r\nYou may use your browser or the occ upgrade command to do the upgrade\r\nSetting log level to debug\r\nUpdating database schema\r\nUpdated database\r\nChecking for update of app accessibility in appstore\r\nChecked for update of app \"accessibility\" in App Store\r\nChecking for update of app activity in appstore\r\n\uff1a\r\n\uff1a\r\n\uff1a\r\nChecking for update of app workflowengine in appstore\r\nChecked for update of app \"workflowengine\" in App Store\r\nStarting code integrity check...\r\nFinished code integrity check\r\nUpdate successful\r\nMaintenance mode is kept active\r\nResetting log level\r\nwww-data@nextcloud_app:~\/html$ .\/occ maintenance:mode --off\r\nMaintenance mode disabled\r\n<\/code><\/pre>\n<p>\u3053\u3046\u3044\u3063\u305f\u3053\u3068\u304c\u904e\u53bb\u4e00\u5ea6\u3067\u3082\u3042\u3063\u305f\u5834\u5408\u3001\u3042\u308b\u3044\u306f\u5fc3\u914d\u306a\u5834\u5408\u306f\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u7acb\u3061\u4e0a\u3052\u3066<br \/>\n\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u958b\u59cb\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001\u4e0a\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3059\u308b\u3068\u3088\u3044\u3068\u601d\u3046\u3002<\/p>\n<h2>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5f8c\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u3067\u300c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u5834\u5408<\/h2>\n<p>\u306a\u3093\u3084\u304b\u3093\u3084\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u5f8c\u306f\u6bce\u56de\u51fa\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002<br \/>\n\u3053\u308c\u3089\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u300cNextcloud \u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3078\u306e\u5165\u308a\u65b9\u300d\u306e\u65b9\u6cd5\u3067\u3000Nextcloud \u30b3\u30f3\u30c6\u30ca\u306e bash \u3092\u8d77\u52d5\u3057\u3066\u304b\u3089\u300c\u3007\u3007\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u300d\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<p>\u4f8b\uff09occ db:add-missing-indices \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3000\u3068\u66f8\u304b\u308c\u3066\u3044\u308b<br \/>\n.\/occ db:add-missing-indices<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/143-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u5b8c\u6210\u540e\u8bf7\u4f7f\u7528\u201cexit\u201d\u9000\u51fa\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5728 Synology DSM 7.1 \u4e0a\u4f7f\u7528 Docker \u5305\u6765\u6258\u7ba1 Nextcloud \u7684\u65b9\u6cd5\u3002\u56e0\u4e3a\u6211\u89c9\u5f97 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34608","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4 - Blog - Silicon Cloud<\/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:\/\/www.silicloud.com\/zh\/blog\/synology-docker-\u4e0a\u5b89\u88c5-nextcloud-\u7684\u6b65\u9aa4\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4\" \/>\n<meta property=\"og:description\" content=\"\u6211\u5728 Synology DSM 7.1 \u4e0a\u4f7f\u7528 Docker \u5305\u6765\u6258\u7ba1 Nextcloud \u7684\u65b9\u6cd5\u3002\u56e0\u4e3a\u6211\u89c9\u5f97 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-\u4e0a\u5b89\u88c5-nextcloud-\u7684\u6b65\u9aa4\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-19T09:06:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T10:15:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/24-0.png\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/\",\"name\":\"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-19T09:06:55+00:00\",\"dateModified\":\"2024-05-04T10:15:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4 - Blog - Silicon Cloud","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:\/\/www.silicloud.com\/zh\/blog\/synology-docker-\u4e0a\u5b89\u88c5-nextcloud-\u7684\u6b65\u9aa4\/","og_locale":"zh_CN","og_type":"article","og_title":"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4","og_description":"\u6211\u5728 Synology DSM 7.1 \u4e0a\u4f7f\u7528 Docker \u5305\u6765\u6258\u7ba1 Nextcloud \u7684\u65b9\u6cd5\u3002\u56e0\u4e3a\u6211\u89c9\u5f97 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-\u4e0a\u5b89\u88c5-nextcloud-\u7684\u6b65\u9aa4\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-19T09:06:55+00:00","article_modified_time":"2024-05-04T10:15:51+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1e3737434c4406c15597\/24-0.png"}],"author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/","name":"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-19T09:06:55+00:00","dateModified":"2024-05-04T10:15:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Synology Docker \u4e0a\u5b89\u88c5 Nextcloud \u7684\u6b65\u9aa4"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/synology-docker-%e4%b8%8a%e5%ae%89%e8%a3%85-nextcloud-%e7%9a%84%e6%ad%a5%e9%aa%a4\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34608"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34608\/revisions"}],"predecessor-version":[{"id":99907,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34608\/revisions\/99907"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}