@@ -0,0 +1,13 @@
+kind: pipeline
+name: default
+
+steps:
+ - name: docker
+ image: plugins/docker
+ settings:
+ tags:
+ - latest
+ - 1.0.${DRONE_BUILD_NUMBER}
+ registry: nas.fast-fun.cn:5000
+ insecure: true
+ repo: nas.fast-fun.cn:5000/website
@@ -0,0 +1,4 @@
+FROM nas.fast-fun.cn:5000/nginx:alpine
+ADD default.conf /etc/nginx/conf.d/
+ADD html /usr/share/nginx/html
@@ -0,0 +1,20 @@
+server {
+ listen 80;
+ server_name localhost;
+ #charset koi8-r;
+ access_log /var/log/nginx/host.access.log main;
+ gzip on;
+ gzip_min_length 1k;
+ gzip_buffers 4 16k;
+ gzip_comp_level 8;
+ gzip_types text/plain application/javascript application/x-javascript text/css application/json text/javascript application/x-httpd-php image/jpeg image/gif image/png;
+ gzip_vary off;
+ gzip_disable "MSIE [1-6]\.";
+ location / {
+ root /usr/share/nginx/html;
+ index start.html index.html;
+ }
+}