{"id":9854,"date":"2024-09-16T22:56:01","date_gmt":"2024-09-16T14:56:01","guid":{"rendered":"http:\/\/999.zuizhuai.cn\/?p=9854"},"modified":"2024-09-16T22:56:01","modified_gmt":"2024-09-16T14:56:01","slug":"%e9%a3%9e%e7%89%9b%e5%8f%8a%e7%be%a4%e6%99%96nas%e4%b8%8a%e7%9a%84docker-compose%e9%83%a8%e7%bd%b2%e4%bf%9d%e5%a7%86%e7%ba%a7%e6%95%99%e7%a8%8b%ef%bc%88%e7%ba%af%e6%96%b0%e6%89%8b%e5%90%91%ef%bc%89","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=9854","title":{"rendered":"\u98de\u725b\u53ca\u7fa4\u6656nas\u4e0a\u7684docker compose\u90e8\u7f72\u4fdd\u59c6\u7ea7\u6559\u7a0b\uff08\u7eaf\u65b0\u624b\u5411\uff09"},"content":{"rendered":"<p style=\"letter-spacing: 0.578px;margin-bottom: 24px;margin-top: 0px\" data-pid=\"0BMG1Zgc\"><span style=\"letter-spacing: 0.578px\"><strong style=\", arial, sans-serif;font-size: 16px;letter-spacing: 1.6px;text-align: left;line-height: 1.75\">\u56e0\u4e3a\u6709\u4e9b\u540c\u5b66\u8bf4\u4e0d\u4f1adocker compose\u7684\u90e8\u7f72\uff0c\u672c\u6b21\u5c31\u624b\u628a\u624b\u4ecb\u7ecd\u4e0b\u8be6\u7ec6\u6b65\u9aa4\uff0c\u5982\u679c\u8fd8\u6709\u540c\u5b66\u7559\u8a00\u4e0d\u4f1a\uff0c\u6211\u540e\u671f\u76f4\u63a5\u5c31\u518d\u51fa\u4e2a\u89c6\u9891\u6559\u7a0b\u5427\uff0c\u4f1a\u7684\u540c\u5b66\u5c31\u7565\u8fc7\u5427\uff0c\u672c\u6b21\u6587\u7ae0\u4e3b<\/strong><\/span><strong style=\", arial, sans-serif;font-size: 16px;letter-spacing: 1.6px;text-align: left;line-height: 1.75\">\u8981\u5305\u542b\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/strong><\/p>\n<ul class=\"list-paddingleft-1\" style=\"list-style-type: circle\">\n<li style=\"letter-spacing: 0.578px;margin-bottom: 24px;margin-top: 0px\">\n<p style=\"letter-spacing: 0.578px;line-height: 1.6em;text-align: left;margin-top: 0px;margin-bottom: 0px\">\u98de\u725b\u7684docker compose\u90e8\u7f72<\/p>\n<\/li>\n<li style=\"letter-spacing: 0.578px;margin-bottom: 24px;margin-top: 0px\">\n<p style=\"letter-spacing: 0.578px;line-height: 1.6em;text-align: left;margin-top: 0px;margin-bottom: 0px\">\u7fa4\u6656\u7684docker compose\u90e8\u7f72<\/p>\n<\/li>\n<li style=\"letter-spacing: 0.578px;margin-bottom: 24px;margin-top: 0px\">\n<p style=\"letter-spacing: 0.578px;line-height: 1.6em;text-align: left;margin-top: 0px;margin-bottom: 0px\">\u7ed3\u5c3e\u8bf4\u660e<\/p>\n<\/li>\n<\/ul>\n<p style=\"letter-spacing: 0.578px;line-height: 1.6em;text-align: left;margin-top: 0px;margin-bottom: 0px\">\u672c\u6b21<span style=\"font-size: var(--articleFontsize);letter-spacing: 0.034em;text-align: justify\">\u6559\u7a0b\u4ee5calibre-web\u4e3a\u4f8b<\/span><\/p>\n<p style=\"letter-spacing: 0.578px;line-height: 1.6em;text-align: left;margin-top: 0px;margin-bottom: 0px\"><span style=\"font-size: var(--articleFontsize);letter-spacing: 0.034em;text-align: justify\">\u00a0<\/span><\/p>\n<h1 style=\"letter-spacing: 0.578px;text-align: center;margin-bottom: 24px\"><strong><span style=\"font-size: 20px;text-decoration: underline\">\u98de\u725b\u7684docker compose\u90e8\u7f72<\/span><\/strong><\/h1>\n<p style=\"text-align: left;margin-bottom: 24px;margin-top: 0px\"><span style=\"color: #0f4c81;font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif\"><span style=\"font-size: 16px;letter-spacing: 1.6px\"><strong>\u9996\u5148\u6211\u5e73\u65f6\u4f1a\u8d34\u4e0a\u6211\u8c03\u8bd5\u8fc7\u7684docker compose\u4ee3\u7801\uff0c\u5982\u4e0b\uff1a<\/strong><\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">services:<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">  calibre-web:<\/span><\/code><code><span class=\"code-snippet_outer\">    image: johngong\/calibre-web<\/span><\/code><code><span class=\"code-snippet_outer\">    container_name: calibre-web<\/span><\/code><code><span class=\"code-snippet_outer\">    environment:<\/span><\/code><code><span class=\"code-snippet_outer\">      - PUID=1000  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - PGID=1000  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - TZ=Asia\/Shanghai  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    volumes:<\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/config:\/config  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/library:\/library  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/autoaddbooks:\/autoaddbooks  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    ports:<\/span><\/code><code><span class=\"code-snippet_outer\">      - 8083:8083  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09web\u8bbf\u95ee\u7aef\u53e3<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - 8080:8080  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    restart: unless-stopped<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">1\u3001\u6253\u5f00\u684c\u9762\u4e0a\u7684docker<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10691\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025710623.png\" width=\"1080\" height=\"692\" alt=\"20240918025710623\" title=\"20240918025710623\" \/><\/p>\n<p style=\"text-align: left\">2\u3001\u9009\u62e9compose\uff0c\u70b9\u65b0\u589e\u9879\u76ee<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10692\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025714574.png\" width=\"1080\" height=\"637\" alt=\"20240918025714574\" title=\"20240918025714574\" \/><\/p>\n<p style=\"text-align: left\">3\u3001\u8f93\u5165\u9879\u76ee\u540d\u79f0\uff0c\u6700\u597d\u4e0d\u7528\u4e2d\u6587<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10693\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025716747.png\" width=\"1080\" height=\"722\" alt=\"20240918025716747\" title=\"20240918025716747\" \/><\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\"><span style=\", arial, sans-serif;letter-spacing: 1.6px\"><span style=\", arial, sans-serif;letter-spacing: 1.6px;font-size: 17px\">4\u3001\u9009\u62e9\u8def\u5f84<\/span><\/span><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10694\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025718924.png\" width=\"1080\" height=\"672\" alt=\"20240918025718924\" title=\"20240918025718924\" \/><\/p>\n<p style=\"text-align: left\">5\u3001\u5728\u5f39\u51fa\u7684\u6587\u4ef6\u5939\u7a97\u53e3\uff0c\u6682\u5f00docker\u6587\u4ef6\u5939\uff0c\u7ed9\u9879\u76ee\u65b0\u5efa\u5b50\u6587\u4ef6\u5939calibre-web<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10695\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025720285.png\" width=\"1080\" height=\"642\" alt=\"20240918025720285\" title=\"20240918025720285\" \/><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10696\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025722355.png\" width=\"937\" height=\"667\" alt=\"20240918025722355\" title=\"20240918025722355\" \/><\/p>\n<p style=\"text-align: left\">\u56e0\u4e3a\u6211\u90e8\u7f72\u8fc7\u8fd9\u4e2a\u7a0b\u5e8f\uff0c\u6240\u4ee5\u6211\u547d\u540d\u540e\u9762\u90fd\u52a0\u4e86\u4e2a2<\/p>\n<p style=\"text-align: left\">6\u3001\u65b0\u5efa\u5b8c\u6210\u540e\u76ee\u5f55\u7ed3\u6784\u5c31\u51fa\u73b0\u4e86\u4f60\u65b0\u5efa\u7684\u6587\u4ef6\u5939\uff0c\u70b9\u51fb<span style=\"letter-spacing: 0.578px;text-align: left\">\u9009\u4e2d<\/span>\u4f60\u521a\u624d\u65b0\u5efa\u7684\u6587\u4ef6\u5939\uff0c\u5176\u80cc\u666f\u8272\u53d8\u6210\u6d45\u84dd\u8272<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10697\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025723641.png\" width=\"1080\" height=\"697\" alt=\"20240918025723641\" title=\"20240918025723641\" \/><\/p>\n<p style=\"text-align: left\">7\u3001\u70b9\u51fb\u786e\u5b9a<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10698\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025725683.png\" width=\"987\" height=\"661\" alt=\"20240918025725683\" title=\"20240918025725683\" \/><\/p>\n<p>8\u3001\u70b9\u51fb\uff1a\u521b\u5efadocker-compose.yml<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10699\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025727789.png\" width=\"1080\" height=\"770\" alt=\"20240918025727789\" title=\"20240918025727789\" \/><\/p>\n<p style=\"text-align: left\">9\u3001\u9f20\u6807\u70b9\u51fb\u8fdb\u53bb\u6587\u672c\u6846\uff0c\u628adocker-compose\u7684\u4ee3\u7801\u590d\u5236\u8fdb\u53bb\uff0c\u52fe\u9009\u201c\u521b\u5efa\u9879\u76ee\u540e\u7acb\u5373\u542f\u52a8\uff0c\u70b9\u51fb\u5b8c\u6210<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10700\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025729547.png\" width=\"892\" height=\"765\" alt=\"20240918025729547\" title=\"20240918025729547\" \/><\/p>\n<p style=\"text-align: left\">10\u3001docker\u9879\u76ee\u7ba1\u7406\u754c\u9762\uff0c\u51fa\u73b0\u4f60\u521a\u624d\u521b\u5efa\u7684\u9879\u76ee\uff0c\u56fe\u6807\u662f\u7eff\u8272\u7684\u6807\u8bc6\u8fd0\u884c\u6210\u529f<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10701\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025730265.png\" width=\"1080\" height=\"427\" alt=\"20240918025730265\" title=\"20240918025730265\" \/><\/p>\n<p style=\"text-align: left\">11\u3001\u8f93\u5165IP:8083\u5c31\u662f\u5bf9\u5e94\u7684web\u7ba1\u7406\u7f51\u9875<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10702\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025732371.png\" width=\"1080\" height=\"609\" alt=\"20240918025732371\" title=\"20240918025732371\" \/><\/p>\n<p style=\"text-align: left\">\u8fd9\u91cc\u9ed8\u8ba4\u7528\u6237\u540dadmin\uff0c\u5bc6\u7801admin123<\/p>\n<h1 style=\"letter-spacing: 0.578px;text-align: center;margin-bottom: 24px\"><strong><span style=\"font-size: 20px;text-decoration: underline\">\u7fa4\u6656\u7684docker compose\u90e8\u7f72<\/span><\/strong><\/h1>\n<p>1\u3001\u7fa4\u6656\u7684\u5957\u4ef6\u4e2d\u5fc3\u4e2d\uff0c\u4f60\u9700\u8981\u5148\u5b89\u88c5\u597dcontainer manager\uff0c\u8fd9\u4e2a\u662f\u7fa4\u6656\u7684docker\u7ba1\u7406\u5668<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10703\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025734693.png\" width=\"1080\" height=\"557\" alt=\"20240918025734693\" title=\"20240918025734693\" \/><\/p>\n<p style=\"text-align: left\">2\u3001\u5728\u7fa4\u6656\u7684file station\u6587\u4ef6\u7ba1\u7406\u5668\u4e2d\uff0c\u65b0\u5efa\u597dcalibre-web\u7684\u6587\u4ef6\u5939\u53ca\u5b50\u6587\u4ef6\u5939\u7ed3\u6784<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10704\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025736645.png\" width=\"1080\" height=\"467\" alt=\"20240918025736645\" title=\"20240918025736645\" \/><\/p>\n<p style=\"text-align: left\">3\u3001container manager\u4e2d\u9009\u9879\u76ee\uff0c\u70b9\u65b0\u589e<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10705\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025738713.png\" width=\"1080\" height=\"595\" alt=\"20240918025738713\" title=\"20240918025738713\" \/><\/p>\n<p style=\"text-align: left\">4\u3001\u586b\u5199\u9879\u76ee\u540d\u79f0\uff0c\u70b9\u51fb\u8bbe\u7f6e\u8def\u5f84\uff0c\u628a\u8def\u5f84\u6307\u5411\u521a\u624d\u521b\u5efa\u7684\u6587\u4ef6\u5939\uff0c\u70b9\u51fb\u6765\u6e90\u53f3\u4fa7\u7684\u4e0b\u4e09\u89d2\u7bad\u5934\u9009\u62e9\u201c\u521b\u5efadocker-compose.yml&#8221;<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10706\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025739826.png\" width=\"1080\" height=\"574\" alt=\"20240918025739826\" title=\"20240918025739826\" \/><\/p>\n<p style=\"text-align: left\">5\u3001\u5728\u6587\u672c\u6846\u7c98\u8d34\u4ee5\u4e0bdocker compose\u4ee3\u7801\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">services:<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">  calibre-web:<\/span><\/code><code><span class=\"code-snippet_outer\">    image: johngong\/calibre-web<\/span><\/code><code><span class=\"code-snippet_outer\">    container_name: calibre-web<\/span><\/code><code><span class=\"code-snippet_outer\">    environment:<\/span><\/code><code><span class=\"code-snippet_outer\">      - PUID=1000  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - PGID=1000  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0TZ=Asia\/Shanghai\u00a0\u00a0<span class=\"code-snippet__comment\">#\u00a0\u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    volumes:<\/span><\/code><code><span class=\"code-snippet_outer\">      - \/volume1\/docker\/calibre-web\/config:\/config  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - \/volume1\/docker\/calibre-web\/library:\/library  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - \/volume1\/docker\/calibre-web\/autoaddbooks:\/autoaddbooks  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    ports:<\/span><\/code><code><span class=\"code-snippet_outer\">      - 8083:8083  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09web\u8bbf\u95ee\u7aef\u53e3<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - 8080:8080  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    restart: unless-stopped<\/span><\/code><\/pre>\n<\/section>\n<h1 style=\"margin-bottom: 24px;letter-spacing: 0.578px;text-align: center\"><\/h1>\n<h1>6\u3001\u70b9\u51fb\u4e0b\u4e00\u6b65<\/h1>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10707\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025741300.png\" width=\"1080\" height=\"591\" alt=\"20240918025741300\" title=\"20240918025741300\" \/><\/p>\n<p>7\u3001\u70b9\u51fb\u4e0b\u4e00\u6b65<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10708\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025743542.png\" width=\"941\" height=\"726\" alt=\"20240918025743542\" title=\"20240918025743542\" \/><\/p>\n<h1>8\u3001\u70b9\u51fb\u5b8c\u6210<\/h1>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10709\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025744886.png\" width=\"970\" height=\"759\" alt=\"20240918025744886\" title=\"20240918025744886\" \/><\/p>\n<p style=\"text-align: left\">9\u3001\u7b49\u5f85\u51fa\u73b0\u7684\u7ec8\u7aef\u673a\u754c\u9762\uff0c\u51fa\u73b0\u201cpull complete\u201d\uff0c\u4e14\u9879\u76ee\u524d\u662f\u7eff\u8272\u5706\u70b9\u5c31\u8fd0\u884c\u6210\u529f\u4e86<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10710\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025746496.png\" width=\"892\" height=\"614\" alt=\"20240918025746496\" title=\"20240918025746496\" \/><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10711\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025747474.png\" width=\"1080\" height=\"488\" alt=\"20240918025747474\" title=\"20240918025747474\" \/><\/p>\n<p style=\"text-align: left\">10\u3001IP:8083\u8bbf\u95ee\u6210\u529f<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10712\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240918025749849.png\" width=\"1080\" height=\"612\" alt=\"20240918025749849\" title=\"20240918025749849\" \/><\/p>\n<h1 style=\"margin-bottom: 24px;letter-spacing: 0.578px;text-align: center\"><strong><span style=\"font-size: 20px;text-decoration: underline\">\u7ed3\u5c3e\u8bf4\u660e<\/span><\/strong><\/h1>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">1\u3001\u98de\u725b\u548c\u7fa4\u6656\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u4e0b\u9762\u8fd9\u90e8\u5206\u4ee3\u7801<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">\u6620\u5c04\u6587\u4ef6\u5939\u98de\u725b\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528.\/\u7684\u76f8\u5bf9\u8def\u5f84\uff0c\u5e76\u81ea\u52a8\u521b\u5efa\u603b\u8def\u5f84\u4e0b\u7684\u5b50\u6587\u4ef6\u5939\uff0c\u800c\u7fa4\u6656\u6ca1\u7ed9docker\u5f00\u901a\u6587\u4ef6\u5939\u6743\u9650\uff0c\u5fc5\u987b\u81ea\u5df1\u628a\u5b50\u6587\u4ef6\u5939\u90fd\u521b\u5efa\u597d\u4e86\uff0c\u540c\u65f6\u4f7f\u7528\u5b8c\u6574\u8def\u5f84<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">\u98de\u725b\u7684\u6587\u4ef6\u5939\u5377\u90e8\u5206\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span class=\"code-snippet_outer\">    volumes:<\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/config:\/config  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/library:\/library  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - .\/autoaddbooks:\/autoaddbooks  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\"><span style=\"letter-spacing: 0.578px\">\u7fa4\u6656\u7684<\/span><span style=\"letter-spacing: 0.578px\">\u6587\u4ef6\u5939\u5377\u90e8\u5206<\/span><span style=\"letter-spacing: 0.578px\">\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span class=\"code-snippet_outer\">    volumes:<\/span><\/code><code><span class=\"code-snippet_outer\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0\/volume1\/docker\/calibre-web\/config:\/config\u00a0\u00a0<span class=\"code-snippet__comment\">#\u00a0\u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - \/volume1\/docker\/calibre-web\/library:\/library  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - \/volume1\/docker\/calibre-web\/autoaddbooks:\/autoaddbooks  <span class=\"code-snippet__comment\"># \u9700\u8981\u4fee\u6539<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">\u56e0\u4e3a\u5176\u4ed6nas\u6211\u6ca1\u6709\u6210\u54c1\uff0c\u5c31\u4e0d\u77e5\u9053\u5176\u4ed6nas\u7684docker\u662f\u4f7f\u7528\u7684\u7edd\u5bf9\u8fd8\u662f\u76f8\u5bf9\u8def\u5f84\uff0c\u540c\u5b66\u4eec\u53ef\u4ee5\u81ea\u5df1\u8bd5\u8bd5<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">2\u3001docker compose\u7684\u4ee3\u7801\u4e2d\uff0c\u4e3b\u8981\u5c31\u662f\u4fee\u65392\u4e2a\u5730\u65b9\uff1avolumes\u6587\u4ef6\u5939\u6302\u8f7d\u6620\u5c04\u548c\u7aef\u53e3\u6620\u5c04<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">\u6587\u4ef6\u5939\u6620\u5c04\u4e0a\u9762\u7b2c1\u70b9\u8bb2\u4e86\u539f\u56e0\uff1b<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">\u7aef\u53e3\u6620\u5c04\u4fee\u6539\u56e0\u4e2a\u4eba\u60c5\u51b5\u4fee\u6539\uff0c\u662f\u56e0\u4e3a\u53ef\u80fd\u548c\u5176\u4ed6\u7684\u6620\u50cf\u7aef\u53e3\u51b2\u7a81\uff0c<\/p>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px\">ports:-8083:8083\uff0c\u8fd9\u91cc\u53ea\u9700\u8981\u4fee\u6539\u524d\u9762\u76848083\u7aef\u53e3\uff0c\u56e0\u4e3a\u524d\u9762\u7684\u662fnas\u7684\u5916\u90e8\u7aef\u53e3\uff0c\u540e\u9762\u7684\u662f\u5bb9\u5668\u5185\u7aef\u53e3\u4e0d\u53ef\u80fd\u4f1a\u51b2\u7a81\uff0c\u5229\u6da6\u4fee\u6539\u621018083\u5982\u4e0b\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span class=\"code-snippet_outer\">    ports:<\/span><\/code><code><span class=\"code-snippet_outer\">      - 18083:8083  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09web\u8bbf\u95ee\u7aef\u53e3<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">      - 8080:8080  <span class=\"code-snippet__comment\"># \u6309\u9700\u4fee\u6539\uff08\u53ef\u9009\uff09<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center\">\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3a\u6709\u4e9b\u540c\u5b66\u8bf4\u4e0d\u4f1adocker compose\u7684\u90e8\u7f72\uff0c\u672c\u6b21\u5c31\u624b\u628a\u624b\u4ecb\u7ecd\u4e0b\u8be6\u7ec6\u6b65\u9aa4\uff0c\u5982\u679c\u8fd8\u6709\u540c\u5b66\u7559\u8a00\u4e0d\u4f1a\uff0c\u6211\u540e\u671f\u76f4\u63a5\u5c31\u518d\u51fa\u4e2a\u89c6\u9891\u6559\u7a0b\u5427\uff0c\u4f1a\u7684\u540c\u5b66\u5c31\u7565\u8fc7\u5427\uff0c\u672c\u6b21\u6587\u7ae0\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u5185\u5bb9\uff1a \u98de\u725b\u7684docker compose\u90e8\u7f72 \u7fa4\u6656\u7684docker &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128],"tags":[94,271],"topic":[],"class_list":["post-9854","post","type-post","status-publish","format-standard","hentry","category-128","tag-nas","tag-271"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/9854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9854"}],"version-history":[{"count":0,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/9854\/revisions"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9854"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9854"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=9854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}