remove docs
3
.gitignore
vendored
@ -29,4 +29,5 @@ HELP.md
|
||||
.vscode/
|
||||
|
||||
/node_modules/
|
||||
/.vuepress/dist/
|
||||
/.vuepress/dist/
|
||||
/docs/
|
||||
@ -6,7 +6,7 @@
|
||||
<a href="/overview/" class="nav-link">简介</a>
|
||||
</div>
|
||||
<div class="side-nav-item" :style="activeLinkStyle('/install/')">
|
||||
<a href="/install/install-dashboard" class="nav-link router-link-exact-active router-link-active">安装</a>
|
||||
<a href="/install/install-dashboard.html" class="nav-link router-link-exact-active router-link-active">安装</a>
|
||||
</div>
|
||||
<div class="side-nav-item" :style="activeLinkStyle('/guide/')">
|
||||
<a href="/guide/" class="nav-link">使用</a>
|
||||
|
||||
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM nginx:1.17.1
|
||||
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
RUN rm -f /etc/nginx/nginx.conf \
|
||||
&& rm -f /etc/nginx/conf.d/default.conf
|
||||
COPY docker/nginx.80.conf /etc/nginx/conf.d/nginx.80.conf
|
||||
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
||||
LABEL maintainer="shaohq@foxmail.com"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
COPY ./docs /usr/share/nginx/html
|
||||
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
||||
16
build.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
datetime=`date +%Y%m%d-%H%M%S`
|
||||
echo $datetime
|
||||
tag=eipwork/kuboard-press
|
||||
|
||||
npm install --registry=https://registry.npm.taobao.org
|
||||
npm run docs:build
|
||||
|
||||
docker build -t $tag:latest .
|
||||
|
||||
|
||||
if test $datetime != ""; then
|
||||
docker push $tag:latest
|
||||
docker tag $tag:latest $tag:$datetime
|
||||
docker push $tag:$datetime
|
||||
fi
|
||||
1
docker/dnsmasq.conf
Normal file
@ -0,0 +1 @@
|
||||
user=root
|
||||
8
docker/entrypoint.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
echo "start dnsmasq"
|
||||
service dnsmasq start
|
||||
echo ${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}
|
||||
sed -i s/KUBERNETES_SERVICE_HOST/${KUBERNETES_SERVICE_HOST}/g /etc/nginx/conf.d/nginx.80.conf
|
||||
sed -i s/KUBERNETES_SERVICE_PORT_HTTPS/${KUBERNETES_SERVICE_PORT_HTTPS}/g /etc/nginx/conf.d/nginx.80.conf
|
||||
echo "start nginx"
|
||||
nginx -g "daemon off;"
|
||||
13
docker/nginx.80.conf
Normal file
@ -0,0 +1,13 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
38
docker/nginx.conf
Normal file
@ -0,0 +1,38 @@
|
||||
user root;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
client_header_buffer_size 16k;
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1k;
|
||||
gzip_buffers 4 16k;
|
||||
gzip_comp_level 9;
|
||||
gzip_types text/plain application/json application/javascript application/x-javascript text/css application/xml text/javascript;
|
||||
gzip_vary off;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Kuboard</title>
|
||||
<meta name="description" content="A cool Kubernetes Dashboard">
|
||||
<meta name="keywords" content="Kubernetes, Docker, Dashboard, Kuboard, Linux, K8S, cluster, 分布式, 集群, 容器, 高可用">
|
||||
<meta property="og:site_name" content="Kuboard"><meta property="og:type" content="website"><meta property="og:url" content="/404.html"><meta name="twitter:url" content="/404.html"><meta name="twitter:card" content="summary_large_image">
|
||||
<link rel="preload" href="/assets/css/0.styles.10e5d9a9.css" as="style"><link rel="preload" href="/assets/js/app.f23e884f.js" as="script"><link rel="preload" href="/assets/js/32.b266ee0b.js" as="script"><link rel="prefetch" href="/assets/js/10.95ba08b2.js"><link rel="prefetch" href="/assets/js/11.32fc5ebf.js"><link rel="prefetch" href="/assets/js/12.fd26a3df.js"><link rel="prefetch" href="/assets/js/13.5ae79232.js"><link rel="prefetch" href="/assets/js/14.71b75ecf.js"><link rel="prefetch" href="/assets/js/15.f69e0361.js"><link rel="prefetch" href="/assets/js/16.b573c9f3.js"><link rel="prefetch" href="/assets/js/17.da6085e6.js"><link rel="prefetch" href="/assets/js/18.14596f73.js"><link rel="prefetch" href="/assets/js/19.99531f86.js"><link rel="prefetch" href="/assets/js/2.dd0e1f2c.js"><link rel="prefetch" href="/assets/js/20.78eca6e0.js"><link rel="prefetch" href="/assets/js/21.9cd05e22.js"><link rel="prefetch" href="/assets/js/22.351a9028.js"><link rel="prefetch" href="/assets/js/23.a6ac5f5d.js"><link rel="prefetch" href="/assets/js/24.e321ee47.js"><link rel="prefetch" href="/assets/js/25.9e7c566b.js"><link rel="prefetch" href="/assets/js/26.98ad856b.js"><link rel="prefetch" href="/assets/js/27.9646c768.js"><link rel="prefetch" href="/assets/js/28.b1a5c5c7.js"><link rel="prefetch" href="/assets/js/29.da45b8ef.js"><link rel="prefetch" href="/assets/js/3.703f0de7.js"><link rel="prefetch" href="/assets/js/30.b524eaaf.js"><link rel="prefetch" href="/assets/js/31.c6fd3342.js"><link rel="prefetch" href="/assets/js/33.b52fe074.js"><link rel="prefetch" href="/assets/js/34.638cc37d.js"><link rel="prefetch" href="/assets/js/35.2886039d.js"><link rel="prefetch" href="/assets/js/36.99a592e7.js"><link rel="prefetch" href="/assets/js/37.15829647.js"><link rel="prefetch" href="/assets/js/38.d769f9c2.js"><link rel="prefetch" href="/assets/js/39.722b7242.js"><link rel="prefetch" href="/assets/js/4.66bc3e23.js"><link rel="prefetch" href="/assets/js/40.ac5bf3e7.js"><link rel="prefetch" href="/assets/js/41.31c3cf0b.js"><link rel="prefetch" href="/assets/js/42.113effc0.js"><link rel="prefetch" href="/assets/js/43.9bf36849.js"><link rel="prefetch" href="/assets/js/44.fab29163.js"><link rel="prefetch" href="/assets/js/45.844db78f.js"><link rel="prefetch" href="/assets/js/46.29a73952.js"><link rel="prefetch" href="/assets/js/47.87cdf921.js"><link rel="prefetch" href="/assets/js/48.b7a3d198.js"><link rel="prefetch" href="/assets/js/5.1fe86328.js"><link rel="prefetch" href="/assets/js/6.c494a4ac.js"><link rel="prefetch" href="/assets/js/7.aa7720c7.js"><link rel="prefetch" href="/assets/js/8.83400c95.js"><link rel="prefetch" href="/assets/js/9.41808376.js">
|
||||
<link rel="stylesheet" href="/assets/css/0.styles.10e5d9a9.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>Looks like we've got some broken links.</blockquote> <a href="/" class="router-link-active">Take me home.</a></div></div><div class="global-ui"><!----><!----></div></div>
|
||||
<script src="/assets/js/app.f23e884f.js" defer></script><script src="/assets/js/32.b266ee0b.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1 +0,0 @@
|
||||
kuboard.cn
|
||||
|
Before Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 241 KiB |
|
Before Width: | Height: | Size: 342 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 147 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 378 KiB |
|
Before Width: | Height: | Size: 246 KiB |
|
Before Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 474 KiB |
|
Before Width: | Height: | Size: 408 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 391 KiB |
|
Before Width: | Height: | Size: 274 KiB |
|
Before Width: | Height: | Size: 541 KiB |
|
Before Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 378 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 155 KiB |
|
Before Width: | Height: | Size: 206 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 216 KiB |
|
Before Width: | Height: | Size: 212 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 185 KiB |
|
Before Width: | Height: | Size: 241 KiB |
|
Before Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 271 KiB |
|
Before Width: | Height: | Size: 192 KiB |