mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
new build
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
COPY .docz/dist /usr/share/nginx/html
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
COPY public /usr/share/nginx/html
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
4
build.sh
4
build.sh
@@ -1,3 +1,3 @@
|
|||||||
docker build -t documentation .
|
docker build -t documentation .
|
||||||
docker tag documentation kerberos/documentation:1.10
|
docker tag documentation kerberos/documentation:1.14
|
||||||
docker push kerberos/documentation:1.10
|
docker push kerberos/documentation:1.14
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
baseurl = "https://staging.doc.kerberos.live/"
|
baseurl = "https://doc.kerberos.io/"
|
||||||
canonifyURLs = true
|
canonifyURLs = true
|
||||||
docsRepo = "https://github.com/kerberos-io/documentation"
|
docsRepo = "https://github.com/kerberos-io/documentation"
|
||||||
editPage = true
|
editPage = true
|
||||||
|
|||||||
4
config/staging/config.toml
Normal file
4
config/staging/config.toml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
baseurl = "https://staging.doc.kerberos.live/"
|
||||||
|
canonifyURLs = true
|
||||||
|
docsRepo = "https://github.com/kerberos-io/documentation"
|
||||||
|
editPage = true
|
||||||
1
functions/hi-from-lambda.js
Normal file
1
functions/hi-from-lambda.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){t.handler=(e,t,n)=>{n(null,{statusCode:200,headers:{"Content-Type":"application/json"},body:JSON.stringify({message:"Hi from Lambda."})})}}]));
|
||||||
25
nginx.conf
Normal file
25
nginx.conf
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
worker_processes 1;
|
||||||
|
|
||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gzip_min_length 1000;
|
||||||
|
gzip_proxied expired no-cache no-store private auth;
|
||||||
|
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
|||||||
{"Target":"main.css","MediaType":"text/css","Data":{}}
|
|
||||||
Reference in New Issue
Block a user