-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
7 lines (7 loc) · 8.49 KB
/
index.html
1
2
3
4
5
6
7
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/><meta content="yes" name="apple-mobile-web-app-capable"/><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"/><meta content="telephone=no" name="format-detection"/><meta name="description"/><title>Dani's Blog | null</title><link rel="stylesheet" type="text/css" href="/css/normalize.css"/><link rel="stylesheet" type="text/css" href="/css/highlight.css"/><link rel="stylesheet" type="text/css" href="/css/font.css"/><link rel="stylesheet" type="text/css" href="/css/noise.css"/><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/font-awesome/4.5.0/css/font-awesome.min.css"/><link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico"/></head><body><header class="wrapper header"><div class="container blog-title"><a class="title" id="logo" href="/.">Dani's Blog</a><span class="subtitle"></span><label id="toggle-menu" for="menu" onclick="onclick"><i class="fa fa-bars"></i></label></div><input id="menu" type="checkbox"/><div class="container nav-items"><a class="sidebar-nav-item active" href="/">Home</a><a class="sidebar-nav-item" href="/archives">Archives</a></div></header><article class="wrapper"><div class="container entries" id="index-main"><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2020/11/10/自动化部署-二/">自动化部署(二)</a></div><div class="post-content"><blockquote>
<p><code>Docker-Compose</code>项目是Docker官方的开源项目,负责实现对Docker容器集群的快速编排。<br><code>Docker-Compose</code>将所管理的容器分为三层,分别是工程(project),服务(service)以及容器(container)。<code>Docker-Compose</code>运行目录下的所有文件(docker-compose.yml,extends文件或环境变量文件等)组成一个工程,若无特殊指定工程名即为当前目录名。一个工程当中可包含多个服务,每个服务中定义了容器运行的镜像,参数,依赖。一个服务当中可包括多个容器实例,Docker-Compose并没有解决负载均衡的问题,因此需要借助其它工具实现服务发现及负载均衡。</p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/docker-compose/">docker-compose</a><a class="post-tag-link" href="/tags/自动化/">自动化</a></div><div class="post-time">2020-11-10</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2020/11/09/自动化部署/">自动化部署(一)</a></div><div class="post-content"><blockquote>
<p> <code>webhooks + github + docker</code></p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/docker/">docker</a><a class="post-tag-link" href="/tags/webhooks/">webhooks</a><a class="post-tag-link" href="/tags/自动化/">自动化</a></div><div class="post-time">2020-11-09</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2020/08/14/2020年-前端日记/">2020年-前端日记</a></div><div class="post-content"><h4 id="2020-08-14"><a href="#2020-08-14" class="headerlink" title="2020-08-14"></a>2020-08-14</h4><p>【跨域】ajax请求方式<code>application/json</code>,后端接受不到。改成<code>application/x-www-form-urlencoded</code>格式就能接受到?</p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/2020/">2020</a><a class="post-tag-link" href="/tags/diary/">diary</a></div><div class="post-time">2020-08-14</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2019/07/08/tool/">工欲善其事 必先利其器</a></div><div class="post-content"><h2 id="mac终端"><a href="#mac终端" class="headerlink" title="mac终端"></a>mac终端</h2><h3 id="mac终端shell切换"><a href="#mac终端shell切换" class="headerlink" title="mac终端shell切换"></a>mac终端shell切换</h3><blockquote>
<p>17年初买了第一台mac pro,特别兴奋。</p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/tools/">tools</a></div><div class="post-time">2019-07-08</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2019/06/27/picgo/">手把手教你配置图床</a></div><div class="post-content"><h2 id="下载图床工具"><a href="#下载图床工具" class="headerlink" title="下载图床工具"></a>下载图床工具</h2><p>在github上下载安装包:<a href="https://github.com/Molunerfinn/PicGo/releases" target="_blank" rel="noopener">https://github.com/Molunerfinn/PicGo/releases</a></p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/picGo/">picGo</a><a class="post-tag-link" href="/tags/图床/">图床</a></div><div class="post-time">2019-06-27</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2019/06/27/deploy-cnpm/">超简单的cnpm部署(5分钟搞定!)</a></div><div class="post-content"><h3 id="准备工作"><a href="#准备工作" class="headerlink" title="准备工作"></a>准备工作</h3><p>Node.js >= 4.2.3<br>Linux or OSX</p></div><div class="post-meta"><div class="post-tags"><a class="post-tag-link" href="/tags/cnpm/">cnpm</a><a class="post-tag-link" href="/tags/company-npm/">company-npm</a></div><div class="post-time">2019-06-27</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2019/04/11/hexo-commmand/">hexo commmand</a></div><div class="post-content"><h3 id="常见hexo命令"><a href="#常见hexo命令" class="headerlink" title="常见hexo命令"></a>常见hexo命令</h3><p>常见命令<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">hexo new <span class="string">"postName"</span> <span class="comment">#新建文章</span></span><br><span class="line">hexo new page <span class="string">"pageName"</span> <span class="comment">#新建页面</span></span><br><span class="line">hexo generate <span class="comment">#生成静态页面至public目录</span></span><br><span class="line">hexo server <span class="comment">#开启预览访问端口(默认端口4000,'ctrl + c'关闭server)</span></span><br><span class="line">hexo deploy <span class="comment">#部署到GitHub</span></span><br><span class="line">hexo <span class="built_in">help</span> <span class="comment"># 查看帮助</span></span><br><span class="line">hexo version <span class="comment">#查看Hexo的版本</span></span><br></pre></td></tr></table></figure></p></div><div class="post-meta"><div class="post-time">2019-04-11</div></div></div></div><div class="post-entry"><div class="post-desc"><div class="post-title"><a href="/2018/03/22/hello-world/">Hello World</a></div><div class="post-content"><p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p></div><div class="post-meta"><div class="post-time">2018-03-22</div></div></div></div></div></article><div class="wrapper page-navigator-wrapper"></div><footer class="footer wrapper"><div class="social"><a href="/atom.xml" target="_blank"><i class="fa fa-rss"></i></a></div><div class="footer-content">© 2020 <a href="/" rel="nofollow">Dani's Blog</a>. Powered by <a rel="nofollow" target="_blank" href="https://hexo.io">Hexo</a>. Theme <a target="_blank" href="https://github.com/lotabout/hexo-theme-noise">noise</a>.</div></footer><link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.css"/><script src="//cdn.bootcss.com/jquery/2.0.3/jquery.min.js"></script><script src="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.pack.js"></script><script>$(document).ready(function() {
$(".fancybox").fancybox();
});
</script></body></html>