Deploy website - based on 26b216b478

This commit is contained in:
mbecker20
2024-06-16 15:34:42 -07:00
parent dbeb6c54fe
commit cf43b21a9b
57 changed files with 254 additions and 154 deletions
+4 -4
View File
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
docs.monitor.mogh.tech
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[92],{4855:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>h,toc:()=>l});var n=s(4848),i=s(8453);const o={},r="File Paths",h={id:"file-paths",title:"File Paths",description:"When working with monitor, you might have to configure file or directory paths.",source:"@site/docs/file-paths.md",sourceDirName:".",slug:"/file-paths",permalink:"/docs/file-paths",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/file-paths.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Permissioning Resources",permalink:"/docs/permissioning"}},a={},l=[{value:"Relative Paths",id:"relative-paths",level:2},{value:"Implementation",id:"implementation",level:3},{value:"Docker Volume Paths",id:"docker-volume-paths",level:2}];function c(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"file-paths",children:"File Paths"}),"\n",(0,n.jsx)(t.p,{children:"When working with monitor, you might have to configure file or directory paths."}),"\n",(0,n.jsx)(t.h2,{id:"relative-paths",children:"Relative Paths"}),"\n",(0,n.jsx)(t.p,{children:"Where possible, it is better to use relative file paths. Using relative file paths removes the connection between the process being run and the particular server it runs on, making it easier to move things between servers."}),"\n",(0,n.jsx)(t.p,{children:"Where you see relative paths:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:"setting the build directory and path of the Dockerfile"}),"\n",(0,n.jsx)(t.li,{children:"setting a pre build command path"}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:"For all of the above, the path can be given relative to the root of the configured repo"}),"\n",(0,n.jsx)(t.p,{children:"The one exception is the Dockerfile path, which is given relative to the build directory (This is done by Docker itself, and this pattern matches usage of the Docker CLI)."}),"\n",(0,n.jsx)(t.p,{children:"There are 3 kinds of paths to pass:"}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["to specify the root of the repo, use ",(0,n.jsx)(t.code,{children:"."})," as the path"]}),"\n",(0,n.jsxs)(t.li,{children:["to specify a folder in the repo, pass it with ",(0,n.jsx)(t.strong,{children:"no"})," preceding ",(0,n.jsx)(t.code,{children:"/"}),". For example, ",(0,n.jsx)(t.code,{children:"example_folder"})," or ",(0,n.jsx)(t.code,{children:"folder1/folder2"})]}),"\n",(0,n.jsxs)(t.li,{children:["to specify an absolute path on the servers filesystem, use a preceding slash, eg. ",(0,n.jsx)(t.code,{children:"/home/ubuntu/example"}),". This way should only be used if absolutely necessary, like when passing host paths when configuring docker volumes."]}),"\n"]}),"\n",(0,n.jsx)(t.h3,{id:"implementation",children:"Implementation"}),"\n",(0,n.jsxs)(t.p,{children:["Relative file paths are joined with the path of the repo on the system using a Rust ",(0,n.jsx)(t.a,{href:"https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.push",children:"PathBuf"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"docker-volume-paths",children:"Docker Volume Paths"}),"\n",(0,n.jsxs)(t.p,{children:["These are passed directly to the Docker CLI using ",(0,n.jsx)(t.code,{children:"--volume /path/on/system:/path/in/container"}),". So for these, the same rules apply as when using Docker on the command line. Paths here should usually be given as absolute. It's also probably best to avoid usage of ",(0,n.jsx)(t.code,{children:"~"})," or environment variables like ",(0,n.jsx)(t.code,{children:"$HOME"}),", as this may lead to unexpected behavior."]})]})}function d(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>r,x:()=>h});var n=s(6540);const i={},o=n.createContext(i);function r(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function h(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[92],{5918:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>h,toc:()=>l});var n=s(4848),i=s(8453);const o={},r="File Paths",h={id:"file-paths",title:"File Paths",description:"When working with monitor, you might have to configure file or directory paths.",source:"@site/docs/file-paths.md",sourceDirName:".",slug:"/file-paths",permalink:"/docs/file-paths",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/file-paths.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Permissioning Resources",permalink:"/docs/permissioning"}},a={},l=[{value:"Relative Paths",id:"relative-paths",level:2},{value:"Implementation",id:"implementation",level:3},{value:"Docker Volume Paths",id:"docker-volume-paths",level:2}];function c(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"file-paths",children:"File Paths"}),"\n",(0,n.jsx)(t.p,{children:"When working with monitor, you might have to configure file or directory paths."}),"\n",(0,n.jsx)(t.h2,{id:"relative-paths",children:"Relative Paths"}),"\n",(0,n.jsx)(t.p,{children:"Where possible, it is better to use relative file paths. Using relative file paths removes the connection between the process being run and the particular server it runs on, making it easier to move things between servers."}),"\n",(0,n.jsx)(t.p,{children:"Where you see relative paths:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:"setting the build directory and path of the Dockerfile"}),"\n",(0,n.jsx)(t.li,{children:"setting a pre build command path"}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:"For all of the above, the path can be given relative to the root of the configured repo"}),"\n",(0,n.jsx)(t.p,{children:"The one exception is the Dockerfile path, which is given relative to the build directory (This is done by Docker itself, and this pattern matches usage of the Docker CLI)."}),"\n",(0,n.jsx)(t.p,{children:"There are 3 kinds of paths to pass:"}),"\n",(0,n.jsxs)(t.ol,{children:["\n",(0,n.jsxs)(t.li,{children:["to specify the root of the repo, use ",(0,n.jsx)(t.code,{children:"."})," as the path"]}),"\n",(0,n.jsxs)(t.li,{children:["to specify a folder in the repo, pass it with ",(0,n.jsx)(t.strong,{children:"no"})," preceding ",(0,n.jsx)(t.code,{children:"/"}),". For example, ",(0,n.jsx)(t.code,{children:"example_folder"})," or ",(0,n.jsx)(t.code,{children:"folder1/folder2"})]}),"\n",(0,n.jsxs)(t.li,{children:["to specify an absolute path on the servers filesystem, use a preceding slash, eg. ",(0,n.jsx)(t.code,{children:"/home/ubuntu/example"}),". This way should only be used if absolutely necessary, like when passing host paths when configuring docker volumes."]}),"\n"]}),"\n",(0,n.jsx)(t.h3,{id:"implementation",children:"Implementation"}),"\n",(0,n.jsxs)(t.p,{children:["Relative file paths are joined with the path of the repo on the system using a Rust ",(0,n.jsx)(t.a,{href:"https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.push",children:"PathBuf"}),"."]}),"\n",(0,n.jsx)(t.h2,{id:"docker-volume-paths",children:"Docker Volume Paths"}),"\n",(0,n.jsxs)(t.p,{children:["These are passed directly to the Docker CLI using ",(0,n.jsx)(t.code,{children:"--volume /path/on/system:/path/in/container"}),". So for these, the same rules apply as when using Docker on the command line. Paths here should usually be given as absolute. It's also probably best to avoid usage of ",(0,n.jsx)(t.code,{children:"~"})," or environment variables like ",(0,n.jsx)(t.code,{children:"$HOME"}),", as this may lead to unexpected behavior."]})]})}function d(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>r,x:()=>h});var n=s(6540);const i={},o=n.createContext(i);function r(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function h(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]);
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[512],{1664:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>l,toc:()=>u});var r=n(4848),s=n(8453),o=n(5871);const c={slug:"/connecting-servers"},i="Connecting Servers",l={id:"connecting-servers/index",title:"Connecting Servers",description:"Integrating a device into the monitor system has 2 steps:",source:"@site/docs/connecting-servers/index.mdx",sourceDirName:"connecting-servers",slug:"/connecting-servers",permalink:"/docs/connecting-servers",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/index.mdx",tags:[],version:"current",frontMatter:{slug:"/connecting-servers"},sidebar:"docs",previous:{title:"Core Setup",permalink:"/docs/core-setup"},next:{title:"Setup Monitor Periphery",permalink:"/docs/connecting-servers/setup-periphery"}},a={},u=[];function d(e){const t={h1:"h1",li:"li",ol:"ol",p:"p",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"connecting-servers",children:"Connecting Servers"}),"\n",(0,r.jsx)(t.p,{children:"Integrating a device into the monitor system has 2 steps:"}),"\n",(0,r.jsxs)(t.ol,{children:["\n",(0,r.jsx)(t.li,{children:"Setup and start the periphery agent on the server"}),"\n",(0,r.jsx)(t.li,{children:"Adding the server to monitor via the core API"}),"\n"]}),"\n","\n",(0,r.jsx)(o.A,{})]})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},5871:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(6540),s=n(4164),o=n(1754),c=n(8774),i=n(4586);const l=["zero","one","two","few","many","other"];function a(e){return l.filter((t=>e.includes(t)))}const u={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function d(){const{i18n:{currentLocale:e}}=(0,i.A)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),u}}),[e])}function m(){const e=d();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const s=n.select(t),o=n.pluralForms.indexOf(s);return r[Math.min(o,r.length-1)]}(n,t,e)}}var h=n(6654),p=n(1312),f=n(1107);const g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var x=n(4848);function v(e){let{href:t,children:n}=e;return(0,x.jsx)(c.A,{href:t,className:(0,s.A)("card padding--lg",g.cardContainer),children:n})}function j(e){let{href:t,icon:n,title:r,description:o}=e;return(0,x.jsxs)(v,{href:t,children:[(0,x.jsxs)(f.A,{as:"h2",className:(0,s.A)("text--truncate",g.cardTitle),title:r,children:[n," ",r]}),o&&(0,x.jsx)("p",{className:(0,s.A)("text--truncate",g.cardDescription),title:o,children:o})]})}function y(e){let{item:t}=e;const n=(0,o.Nr)(t),r=function(){const{selectMessage:e}=m();return t=>e(t,(0,p.T)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,x.jsx)(j,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??r(t.items.length)}):null}function C(e){let{item:t}=e;const n=(0,h.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,o.cC)(t.docId??void 0);return(0,x.jsx)(j,{href:t.href,icon:n,title:t.label,description:t.description??r?.description})}function k(e){let{item:t}=e;switch(t.type){case"link":return(0,x.jsx)(C,{item:t});case"category":return(0,x.jsx)(y,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function w(e){let{className:t}=e;const n=(0,o.$S)();return(0,x.jsx)(b,{items:n.items,className:t})}function b(e){const{items:t,className:n}=e;if(!t)return(0,x.jsx)(w,{...e});const r=(0,o.d1)(t);return(0,x.jsx)("section",{className:(0,s.A)("row",n),children:r.map(((e,t)=>(0,x.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,x.jsx)(k,{item:e})},t)))})}},8453:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>i});var r=n(6540);const s={},o=r.createContext(s);function c(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[512],{6871:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>l,toc:()=>u});var r=n(4848),s=n(8453),o=n(5871);const c={slug:"/connecting-servers"},i="Connecting Servers",l={id:"connecting-servers/index",title:"Connecting Servers",description:"Integrating a device into the monitor system has 2 steps:",source:"@site/docs/connecting-servers/index.mdx",sourceDirName:"connecting-servers",slug:"/connecting-servers",permalink:"/docs/connecting-servers",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/index.mdx",tags:[],version:"current",frontMatter:{slug:"/connecting-servers"},sidebar:"docs",previous:{title:"Core Setup",permalink:"/docs/core-setup"},next:{title:"Setup Monitor Periphery",permalink:"/docs/connecting-servers/setup-periphery"}},a={},u=[];function d(e){const t={h1:"h1",li:"li",ol:"ol",p:"p",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"connecting-servers",children:"Connecting Servers"}),"\n",(0,r.jsx)(t.p,{children:"Integrating a device into the monitor system has 2 steps:"}),"\n",(0,r.jsxs)(t.ol,{children:["\n",(0,r.jsx)(t.li,{children:"Setup and start the periphery agent on the server"}),"\n",(0,r.jsx)(t.li,{children:"Adding the server to monitor via the core API"}),"\n"]}),"\n","\n",(0,r.jsx)(o.A,{})]})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},5871:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(6540),s=n(4164),o=n(1754),c=n(8774),i=n(4586);const l=["zero","one","two","few","many","other"];function a(e){return l.filter((t=>e.includes(t)))}const u={locale:"en",pluralForms:a(["one","other"]),select:e=>1===e?"one":"other"};function d(){const{i18n:{currentLocale:e}}=(0,i.A)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:a(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),u}}),[e])}function m(){const e=d();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const s=n.select(t),o=n.pluralForms.indexOf(s);return r[Math.min(o,r.length-1)]}(n,t,e)}}var h=n(6654),p=n(1312),f=n(1107);const g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var x=n(4848);function v(e){let{href:t,children:n}=e;return(0,x.jsx)(c.A,{href:t,className:(0,s.A)("card padding--lg",g.cardContainer),children:n})}function j(e){let{href:t,icon:n,title:r,description:o}=e;return(0,x.jsxs)(v,{href:t,children:[(0,x.jsxs)(f.A,{as:"h2",className:(0,s.A)("text--truncate",g.cardTitle),title:r,children:[n," ",r]}),o&&(0,x.jsx)("p",{className:(0,s.A)("text--truncate",g.cardDescription),title:o,children:o})]})}function y(e){let{item:t}=e;const n=(0,o.Nr)(t),r=function(){const{selectMessage:e}=m();return t=>e(t,(0,p.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,x.jsx)(j,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??r(t.items.length)}):null}function C(e){let{item:t}=e;const n=(0,h.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,o.cC)(t.docId??void 0);return(0,x.jsx)(j,{href:t.href,icon:n,title:t.label,description:t.description??r?.description})}function k(e){let{item:t}=e;switch(t.type){case"link":return(0,x.jsx)(C,{item:t});case"category":return(0,x.jsx)(y,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function w(e){let{className:t}=e;const n=(0,o.$S)();return(0,x.jsx)(b,{items:n.items,className:t})}function b(e){const{items:t,className:n}=e;if(!t)return(0,x.jsx)(w,{...e});const r=(0,o.d1)(t);return(0,x.jsx)("section",{className:(0,s.A)("row",n),children:r.map(((e,t)=>(0,x.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,x.jsx)(k,{item:e})},t)))})}},8453:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>i});var r=n(6540);const s={},o=r.createContext(s);function c(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);
-1
View File
@@ -1 +0,0 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[552],{779:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>c,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var t=n(4848),r=n(8453);const o={},c="Sync Resources",i={id:"sync-resources",title:"Sync Resources",description:"The Montior CLI is able to sync Monitor resources declared in TOML files by diffing them against the resources",source:"@site/docs/sync-resources.md",sourceDirName:".",slug:"/sync-resources",permalink:"/docs/sync-resources",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/sync-resources.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Container Management",permalink:"/docs/deploy-containers/lifetime-management"},next:{title:"Permissioning Resources",permalink:"/docs/permissioning"}},a={},u=[];function d(e){const s={a:"a",h1:"h1",p:"p",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h1,{id:"sync-resources",children:"Sync Resources"}),"\n",(0,t.jsxs)(s.p,{children:["The ",(0,t.jsx)(s.a,{href:"https://crates.io/crates/monitor_cli",children:"Montior CLI"})," is able to sync Monitor resources declared in TOML files by diffing them against the resources\nreturned by the API."]})]})}function l(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453:(e,s,n)=>{n.d(s,{R:()=>c,x:()=>i});var t=n(6540);const r={},o=t.createContext(r);function c(e){const s=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(o.Provider,{value:s},e.children)}}}]);
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[323],{6599:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>r,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>i});var s=n(4848),o=n(8453);const c={},r="Cloud Templates",a={id:"connecting-servers/templates",title:"Cloud Templates",description:"",source:"@site/docs/connecting-servers/templates.md",sourceDirName:"connecting-servers",slug:"/connecting-servers/templates",permalink:"/docs/connecting-servers/templates",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/templates.md",tags:[],version:"current",frontMatter:{}},u={},i=[];function l(e){const t={h1:"h1",...(0,o.R)(),...e.components};return(0,s.jsx)(t.h1,{id:"cloud-templates",children:"Cloud Templates"})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var s=n(6540);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[323],{7930:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>r,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>i});var s=n(4848),o=n(8453);const c={},r="Cloud Templates",a={id:"connecting-servers/templates",title:"Cloud Templates",description:"",source:"@site/docs/connecting-servers/templates.md",sourceDirName:"connecting-servers",slug:"/connecting-servers/templates",permalink:"/docs/connecting-servers/templates",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/templates.md",tags:[],version:"current",frontMatter:{}},u={},i=[];function l(e){const t={h1:"h1",...(0,o.R)(),...e.components};return(0,s.jsx)(t.h1,{id:"cloud-templates",children:"Cloud Templates"})}function d(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var s=n(6540);const o={},c=s.createContext(o);function r(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]);
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[943],{3827:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>u,toc:()=>d});var n=r(4848),o=r(8453);const s={},c=void 0,u={id:"procedures",title:"procedures",description:"",source:"@site/docs/procedures.md",sourceDirName:".",slug:"/procedures",permalink:"/docs/procedures",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/procedures.md",tags:[],version:"current",frontMatter:{}},a={},d=[];function i(e){return(0,n.jsx)(n.Fragment,{})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i()}},8453:(e,t,r)=>{r.d(t,{R:()=>c,x:()=>u});var n=r(6540);const o={},s=n.createContext(o);function c(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[970],{2023:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var t=i(4848),r=i(8453);const o={},s="Select a builder",a={id:"build-images/choosing-builder",title:"Select a builder",description:"A builder is a machine running monitor periphery and docker. Any server connected to monitor can be chosen as the builder for a build.",source:"@site/docs/build-images/choosing-builder.md",sourceDirName:"build-images",slug:"/build-images/choosing-builder",permalink:"/docs/build-images/choosing-builder",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/choosing-builder.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Pre-build command",permalink:"/docs/build-images/pre-build"},next:{title:"Versioning",permalink:"/docs/build-images/versioning"}},d={},c=[{value:"AWS builder",id:"aws-builder",level:3}];function u(e){const n={h1:"h1",h3:"h3",p:"p",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"select-a-builder",children:"Select a builder"}),"\n",(0,t.jsx)(n.p,{children:"A builder is a machine running monitor periphery and docker. Any server connected to monitor can be chosen as the builder for a build."}),"\n",(0,t.jsx)(n.p,{children:"Building on a machine running production software is usually not a great idea, as this process can use a lot of system resources. It is better to start up a temporary cloud machine dedicated for the build, then shut it down when the build is finished. Right now monitor supports AWS ec2 for this task."}),"\n",(0,t.jsx)(n.h3,{id:"aws-builder",children:"AWS builder"}),"\n",(0,t.jsx)(n.p,{children:"Builders are now monitor resources, and are managed via the core API / can be updated using the UI.\nTo use this feature, you need an AWS Ec2 AMI with docker and monitor periphery configured to run on system start.\nOnce you create your builder and add the necessary configuration, it will be available to attach to builds."})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>a});var t=i(6540);const r={},o=t.createContext(r);function s(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);
-1
View File
@@ -1 +0,0 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[970],{872:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var t=i(4848),r=i(8453);const o={},s="Select a builder",a={id:"build-images/choosing-builder",title:"Select a builder",description:"A builder is a machine running monitor periphery and docker. Any server connected to monitor can be chosen as the builder for a build.",source:"@site/docs/build-images/choosing-builder.md",sourceDirName:"build-images",slug:"/build-images/choosing-builder",permalink:"/docs/build-images/choosing-builder",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/choosing-builder.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Pre-build command",permalink:"/docs/build-images/pre-build"},next:{title:"Versioning",permalink:"/docs/build-images/versioning"}},d={},c=[{value:"AWS builder",id:"aws-builder",level:3}];function u(e){const n={h1:"h1",h3:"h3",p:"p",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"select-a-builder",children:"Select a builder"}),"\n",(0,t.jsx)(n.p,{children:"A builder is a machine running monitor periphery and docker. Any server connected to monitor can be chosen as the builder for a build."}),"\n",(0,t.jsx)(n.p,{children:"Building on a machine running production software is usually not a great idea, as this process can use a lot of system resources. It is better to start up a temporary cloud machine dedicated for the build, then shut it down when the build is finished. Right now monitor supports AWS ec2 for this task."}),"\n",(0,t.jsx)(n.h3,{id:"aws-builder",children:"AWS builder"}),"\n",(0,t.jsx)(n.p,{children:"Builders are now monitor resources, and are managed via the core API / can be updated using the UI.\nTo use this feature, you need an AWS Ec2 AMI with docker and monitor periphery configured to run on system start.\nOnce you create your builder and add the necessary configuration, it will be available to attach to builds."})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>a});var t=i(6540);const r={},o=t.createContext(r);function s(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[549],{6788:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var i=n(4848),s=n(8453);const o={},r="Versioning",a={id:"build-images/versioning",title:"Versioning",description:"Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the `latest` tag.",source:"@site/docs/build-images/versioning.md",sourceDirName:"build-images",slug:"/build-images/versioning",permalink:"/docs/build-images/versioning",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/versioning.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Select a builder",permalink:"/docs/build-images/choosing-builder"},next:{title:"Deploy Containers",permalink:"/docs/deploy-containers/"}},c={},u=[];function d(e){const t={code:"code",h1:"h1",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"versioning",children:"Versioning"}),"\n",(0,i.jsxs)(t.p,{children:["Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the ",(0,i.jsx)(t.code,{children:"latest"})," tag."]})]})}function l(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var i=n(6540);const s={},o=i.createContext(s);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[549],{6175:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var i=n(4848),s=n(8453);const o={},r="Versioning",a={id:"build-images/versioning",title:"Versioning",description:"Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the `latest` tag.",source:"@site/docs/build-images/versioning.md",sourceDirName:"build-images",slug:"/build-images/versioning",permalink:"/docs/build-images/versioning",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/versioning.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Select a builder",permalink:"/docs/build-images/choosing-builder"},next:{title:"Deploy Containers",permalink:"/docs/deploy-containers/"}},c={},u=[];function d(e){const t={code:"code",h1:"h1",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"versioning",children:"Versioning"}),"\n",(0,i.jsxs)(t.p,{children:["Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the ",(0,i.jsx)(t.code,{children:"latest"})," tag."]})]})}function l(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var i=n(6540);const s={},o=i.createContext(s);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]);
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[802],{3327:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var s=r(4848),n=r(8453);const o={},i="Adding Servers to Monitor",c={id:"connecting-servers/add-server",title:"Adding Servers to Monitor",description:"The easiest way to add servers is with the GUI.",source:"@site/docs/connecting-servers/add-server.md",sourceDirName:"connecting-servers",slug:"/connecting-servers/add-server",permalink:"/docs/connecting-servers/add-server",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/add-server.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Setup Monitor Periphery",permalink:"/docs/connecting-servers/setup-periphery"},next:{title:"Building Images",permalink:"/docs/build-images"}},d={},a=[];function u(e){const t={code:"code",h1:"h1",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"adding-servers-to-monitor",children:"Adding Servers to Monitor"}),"\n",(0,s.jsxs)(t.p,{children:["The easiest way to add servers is with the GUI.\nNavigate to the Servers page, click the New Server button, input the name, and hit create.\nThis will navigate to the created server, where you can configure it's address.\nThe address is the full http/s url to the periphery server, eg ",(0,s.jsx)(t.code,{children:"http://12.34.56.78:8120"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"Once it is added, you can use access the GUI to modify some config, like the alerting thresholds for cpu, memory and disk usage. A server can also be temporarily disabled, this will prevent alerting if it goes offline."}),"\n",(0,s.jsx)(t.p,{children:"Since no state is stored on the periphery servers, you can easily redirect all deployments to be hosted on a different server. Just update the address to point to the new server."})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>c});var s=r(6540);const n={},o=s.createContext(n);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[802],{7472:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var s=r(4848),n=r(8453);const o={},i="Adding Servers to Monitor",c={id:"connecting-servers/add-server",title:"Adding Servers to Monitor",description:"The easiest way to add servers is with the GUI.",source:"@site/docs/connecting-servers/add-server.md",sourceDirName:"connecting-servers",slug:"/connecting-servers/add-server",permalink:"/docs/connecting-servers/add-server",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/connecting-servers/add-server.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Setup Monitor Periphery",permalink:"/docs/connecting-servers/setup-periphery"},next:{title:"Building Images",permalink:"/docs/build-images"}},d={},a=[];function u(e){const t={code:"code",h1:"h1",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"adding-servers-to-monitor",children:"Adding Servers to Monitor"}),"\n",(0,s.jsxs)(t.p,{children:["The easiest way to add servers is with the GUI.\nNavigate to the Servers page, click the New Server button, input the name, and hit create.\nThis will navigate to the created server, where you can configure it's address.\nThe address is the full http/s url to the periphery server, eg ",(0,s.jsx)(t.code,{children:"http://12.34.56.78:8120"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"Once it is added, you can use access the GUI to modify some config, like the alerting thresholds for cpu, memory and disk usage. A server can also be temporarily disabled, this will prevent alerting if it goes offline."}),"\n",(0,s.jsx)(t.p,{children:"Since no state is stored on the periphery servers, you can easily redirect all deployments to be hosted on a different server. Just update the address to point to the new server."})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>c});var s=r(6540);const n={},o=s.createContext(n);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[543],{2830:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>t,metadata:()=>c,toc:()=>l});var o=i(4848),s=i(8453);const t={},r="Pre-build command",c={id:"build-images/pre-build",title:"Pre-build command",description:"Sometimes a command needs to be run before running `docker build`, you can configure this in the pre build section.",source:"@site/docs/build-images/pre-build.md",sourceDirName:"build-images",slug:"/build-images/pre-build",permalink:"/docs/build-images/pre-build",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/pre-build.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Configuration",permalink:"/docs/build-images/configuration"},next:{title:"Select a builder",permalink:"/docs/build-images/choosing-builder"}},d={},l=[];function a(e){const n={code:"code",em:"em",h1:"h1",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"pre-build-command",children:"Pre-build command"}),"\n",(0,o.jsxs)(n.p,{children:["Sometimes a command needs to be run before running ",(0,o.jsx)(n.code,{children:"docker build"}),", you can configure this in the ",(0,o.jsx)(n.em,{children:"pre build"})," section."]}),"\n",(0,o.jsxs)(n.p,{children:["There are two fields to pass for ",(0,o.jsx)(n.em,{children:"pre build"}),". the first is ",(0,o.jsx)(n.em,{children:"path"}),", which changes the working directory. To run the command in the root of the repo, just pass ",(0,o.jsx)(n.code,{children:"."}),". The second field is ",(0,o.jsx)(n.em,{children:"command"}),", this is the shell command to be executed after the repo is cloned."]}),"\n",(0,o.jsxs)(n.p,{children:["For example, say your repo had a folder in it called ",(0,o.jsx)(n.code,{children:"scripts"})," with a shell script ",(0,o.jsx)(n.code,{children:"on-clone.sh"}),". You would give ",(0,o.jsx)(n.em,{children:"path"})," as ",(0,o.jsx)(n.code,{children:"scripts"})," and command as ",(0,o.jsx)(n.code,{children:"sh on-clone.sh"}),". Or you could make ",(0,o.jsx)(n.em,{children:"path"})," just ",(0,o.jsx)(n.code,{children:"."})," and then the command would be ",(0,o.jsx)(n.code,{children:"sh scripts/on-clone.sh"}),". Either way works fine."]})]})}function u(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>r,x:()=>c});var o=i(6540);const s={},t=o.createContext(s);function r(e){const n=o.useContext(t);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(t.Provider,{value:n},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[543],{1527:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>t,metadata:()=>c,toc:()=>l});var o=i(4848),s=i(8453);const t={},r="Pre-build command",c={id:"build-images/pre-build",title:"Pre-build command",description:"Sometimes a command needs to be run before running `docker build`, you can configure this in the pre build section.",source:"@site/docs/build-images/pre-build.md",sourceDirName:"build-images",slug:"/build-images/pre-build",permalink:"/docs/build-images/pre-build",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/build-images/pre-build.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Configuration",permalink:"/docs/build-images/configuration"},next:{title:"Select a builder",permalink:"/docs/build-images/choosing-builder"}},d={},l=[];function a(e){const n={code:"code",em:"em",h1:"h1",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"pre-build-command",children:"Pre-build command"}),"\n",(0,o.jsxs)(n.p,{children:["Sometimes a command needs to be run before running ",(0,o.jsx)(n.code,{children:"docker build"}),", you can configure this in the ",(0,o.jsx)(n.em,{children:"pre build"})," section."]}),"\n",(0,o.jsxs)(n.p,{children:["There are two fields to pass for ",(0,o.jsx)(n.em,{children:"pre build"}),". the first is ",(0,o.jsx)(n.em,{children:"path"}),", which changes the working directory. To run the command in the root of the repo, just pass ",(0,o.jsx)(n.code,{children:"."}),". The second field is ",(0,o.jsx)(n.em,{children:"command"}),", this is the shell command to be executed after the repo is cloned."]}),"\n",(0,o.jsxs)(n.p,{children:["For example, say your repo had a folder in it called ",(0,o.jsx)(n.code,{children:"scripts"})," with a shell script ",(0,o.jsx)(n.code,{children:"on-clone.sh"}),". You would give ",(0,o.jsx)(n.em,{children:"path"})," as ",(0,o.jsx)(n.code,{children:"scripts"})," and command as ",(0,o.jsx)(n.code,{children:"sh on-clone.sh"}),". Or you could make ",(0,o.jsx)(n.em,{children:"path"})," just ",(0,o.jsx)(n.code,{children:"."})," and then the command would be ",(0,o.jsx)(n.code,{children:"sh scripts/on-clone.sh"}),". Either way works fine."]})]})}function u(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>r,x:()=>c});var o=i(6540);const s={},t=o.createContext(s);function r(e){const n=o.useContext(t);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(t.Provider,{value:n},e.children)}}}]);
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[383],{7683:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>l,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>a});var t=n(4848),i=n(8453);const r={},s="Core Setup",c={id:"core-setup",title:"Core Setup",description:"To run Monitor Core, you will need:",source:"@site/docs/core-setup.md",sourceDirName:".",slug:"/core-setup",permalink:"/docs/core-setup",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/core-setup.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"What is Monitor?",permalink:"/docs/intro"},next:{title:"Connecting Servers",permalink:"/docs/connecting-servers"}},l={},a=[{value:"1. Create the configuration file",id:"1-create-the-configuration-file",level:2},{value:"2. Start monitor core",id:"2-start-monitor-core",level:2},{value:"First login",id:"first-login",level:2},{value:"Tls",id:"tls",level:2}];function d(e){const o={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"core-setup",children:"Core Setup"}),"\n",(0,t.jsx)(o.p,{children:"To run Monitor Core, you will need:"}),"\n",(0,t.jsxs)(o.ul,{children:["\n",(0,t.jsx)(o.li,{children:"A valid configuration file."}),"\n",(0,t.jsx)(o.li,{children:"An instance of MongoDB to which Core can connect."}),"\n",(0,t.jsx)(o.li,{children:"Docker must be installed on the host."}),"\n"]}),"\n",(0,t.jsx)(o.h2,{id:"1-create-the-configuration-file",children:"1. Create the configuration file"}),"\n",(0,t.jsxs)(o.p,{children:["Create a configuration file on the system, for example at ",(0,t.jsx)(o.code,{children:"~/.config/monitor/core.config.toml"}),", and copy the ",(0,t.jsx)(o.a,{href:"https://github.com/mbecker20/monitor/blob/main/config_example/core.config.example.toml",children:"example config"}),". Fill in all the necessary information before continuing."]}),"\n",(0,t.jsx)(o.admonition,{type:"note",children:(0,t.jsxs)(o.p,{children:["To enable OAuth2 login, you must create a client on the respective OAuth provider,\nfor example ",(0,t.jsx)(o.a,{href:"https://developers.google.com/identity/protocols/oauth2",children:"google"}),"\nor ",(0,t.jsx)(o.a,{href:"https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps",children:"github"}),".\nMonitor uses the ",(0,t.jsx)(o.code,{children:"web application"})," login flow.\nThe redirect uri is ",(0,t.jsx)(o.code,{children:"<base_url>/auth/google/callback"})," for google and ",(0,t.jsx)(o.code,{children:"<base_url>/auth/github/callback"})," for github."]})}),"\n",(0,t.jsx)(o.admonition,{type:"note",children:(0,t.jsxs)(o.p,{children:["Most configuration can additionally be passed using environment variables, which override the value in the config file.\nSee ",(0,t.jsx)(o.a,{href:"https://docs.rs/monitor_client/latest/monitor_client/entities/config/core/index.html",children:"config docs"}),"."]})}),"\n",(0,t.jsx)(o.h2,{id:"2-start-monitor-core",children:"2. Start monitor core"}),"\n",(0,t.jsxs)(o.p,{children:["Monitor core is distributed via Github Container Registry under the package ",(0,t.jsx)(o.a,{href:"https://github.com/mbecker20/monitor/pkgs/container/monitor_core",children:"mbecker20/monitor_core"}),"."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-sh",children:"docker run -d --name monitor-core \\\n\t-v $HOME/.monitor/core.config.toml:/config/config.toml \\\n\t-p 9000:9000 \\\n\tghcr.io/mbecker20/monitor_core\n"})}),"\n",(0,t.jsx)(o.h2,{id:"first-login",children:"First login"}),"\n",(0,t.jsxs)(o.p,{children:["Core should now be accessible on the specified port, so navigating to ",(0,t.jsx)(o.code,{children:"http://<address>:<port>"})," will display the login page."]}),"\n",(0,t.jsx)(o.p,{children:"The first user to log in will be auto enabled and made admin. any additional users to create accounts will be disabled by default."}),"\n",(0,t.jsx)(o.h2,{id:"tls",children:"Tls"}),"\n",(0,t.jsxs)(o.p,{children:["Core itself only supports http, so a reverse proxy like ",(0,t.jsx)(o.a,{href:"https://caddyserver.com/",children:"caddy"})," should be used for https."]})]})}function h(e={}){const{wrapper:o}={...(0,i.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453:(e,o,n)=>{n.d(o,{R:()=>s,x:()=>c});var t=n(6540);const i={},r=t.createContext(i);function s(e){const o=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function c(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),t.createElement(r.Provider,{value:o},e.children)}}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[247],{6470:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var i=n(4848),o=n(8453);const a={},r="Container Management",s={id:"deploy-containers/lifetime-management",title:"Container Management",description:"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container's lifetimes.",source:"@site/docs/deploy-containers/lifetime-management.md",sourceDirName:"deploy-containers",slug:"/deploy-containers/lifetime-management",permalink:"/docs/deploy-containers/lifetime-management",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/deploy-containers/lifetime-management.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Configuration",permalink:"/docs/deploy-containers/configuration"},next:{title:"Sync Resources",permalink:"/docs/sync-resources"}},c={},l=[{value:"Stopping a Container",id:"stopping-a-container",level:3},{value:"Container Redeploy",id:"container-redeploy",level:3}];function d(e){const t={em:"em",h1:"h1",h3:"h3",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"container-management",children:"Container Management"}),"\n",(0,i.jsx)(t.p,{children:"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container's lifetimes."}),"\n",(0,i.jsx)(t.p,{children:"This is achieved internally by running the appropriate docker command for the requested action (docker stop, docker start, etc)."}),"\n",(0,i.jsx)(t.h3,{id:"stopping-a-container",children:"Stopping a Container"}),"\n",(0,i.jsxs)(t.p,{children:["Sometimes you want to stop a running application but preserve its logs and configuration, either to be restarted later or to view the logs at a later time. It is more like ",(0,i.jsx)(t.em,{children:"pausing"})," the application with its current config, as no configuration (like environment variable, volume mounts, etc.) will be changed when the container is started again."]}),"\n",(0,i.jsxs)(t.p,{children:["Note that in order to restart an application with updated configuration, it must be ",(0,i.jsx)(t.em,{children:"redeployed"}),". stopping and starting a container again will keep all configuration as it was when the container was initially created."]}),"\n",(0,i.jsx)(t.h3,{id:"container-redeploy",children:"Container Redeploy"}),"\n",(0,i.jsx)(t.p,{children:"Redeploying is the action of destroying a container and recreating it. If you update deployment config, these changes will not take effect until the container is redeployed. Just note this will destroy the previous containers logs along with the container itself."})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>s});var i=n(6540);const o={},a=i.createContext(o);function r(e){const t=i.useContext(a);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]);
"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[247],{2913:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var i=n(4848),o=n(8453);const a={},r="Container Management",s={id:"deploy-containers/lifetime-management",title:"Container Management",description:"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container's lifetimes.",source:"@site/docs/deploy-containers/lifetime-management.md",sourceDirName:"deploy-containers",slug:"/deploy-containers/lifetime-management",permalink:"/docs/deploy-containers/lifetime-management",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/deploy-containers/lifetime-management.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Configuration",permalink:"/docs/deploy-containers/configuration"},next:{title:"Sync Resources",permalink:"/docs/sync-resources"}},c={},l=[{value:"Stopping a Container",id:"stopping-a-container",level:3},{value:"Container Redeploy",id:"container-redeploy",level:3}];function d(e){const t={em:"em",h1:"h1",h3:"h3",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"container-management",children:"Container Management"}),"\n",(0,i.jsx)(t.p,{children:"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container's lifetimes."}),"\n",(0,i.jsx)(t.p,{children:"This is achieved internally by running the appropriate docker command for the requested action (docker stop, docker start, etc)."}),"\n",(0,i.jsx)(t.h3,{id:"stopping-a-container",children:"Stopping a Container"}),"\n",(0,i.jsxs)(t.p,{children:["Sometimes you want to stop a running application but preserve its logs and configuration, either to be restarted later or to view the logs at a later time. It is more like ",(0,i.jsx)(t.em,{children:"pausing"})," the application with its current config, as no configuration (like environment variable, volume mounts, etc.) will be changed when the container is started again."]}),"\n",(0,i.jsxs)(t.p,{children:["Note that in order to restart an application with updated configuration, it must be ",(0,i.jsx)(t.em,{children:"redeployed"}),". stopping and starting a container again will keep all configuration as it was when the container was initially created."]}),"\n",(0,i.jsx)(t.h3,{id:"container-redeploy",children:"Container Redeploy"}),"\n",(0,i.jsx)(t.p,{children:"Redeploying is the action of destroying a container and recreating it. If you update deployment config, these changes will not take effect until the container is redeployed. Just note this will destroy the previous containers logs along with the container itself."})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>s});var i=n(6540);const o={},a=i.createContext(o);function r(e){const t=i.useContext(a);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),i.createElement(a.Provider,{value:t},e.children)}}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
(()=>{"use strict";var e,t,a,r,c,o={},f={};function n(e){var t=f[e];if(void 0!==t)return t.exports;var a=f[e]={id:e,loaded:!1,exports:{}};return o[e].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=o,n.c=f,e=[],n.O=(t,a,r,c)=>{if(!a){var o=1/0;for(u=0;u<e.length;u++){a=e[u][0],r=e[u][1],c=e[u][2];for(var f=!0,d=0;d<a.length;d++)(!1&c||o>=c)&&Object.keys(n.O).every((e=>n.O[e](a[d])))?a.splice(d--,1):(f=!1,c<o&&(o=c));if(f){e.splice(u--,1);var i=r();void 0!==i&&(t=i)}}return t}c=c||0;for(var u=e.length;u>0&&e[u-1][2]>c;u--)e[u]=e[u-1];e[u]=[a,r,c]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var c=Object.create(null);n.r(c);var o={};t=t||[null,a({}),a([]),a(a)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=a(f))Object.getOwnPropertyNames(f).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,n.d(c,o),c},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[])),n.u=e=>"assets/js/"+({48:"a94703ab",92:"3734296e",98:"a7bd4aaa",235:"a7456010",247:"f8238c17",323:"74a07cac",383:"d59290e0",401:"17896441",512:"48402c64",531:"75245258",543:"c65a6c17",549:"a5a01e01",552:"669fcf45",583:"1df93b7f",647:"5e95c892",648:"a9cd8699",742:"aba21aa0",802:"a5ce9ce8",846:"c54f4afd",848:"8b13a4b4",849:"0058b4c6",864:"d92a3c43",912:"c8c1187d",943:"79c522c5",970:"9d7902f6",976:"0e384e19",995:"ef526b88"}[e]||e)+"."+{48:"0a6b5f99",92:"a1973332",98:"6f58ed8b",235:"b82eb55b",237:"2f3e1c0f",247:"ace2f037",323:"ded43cc8",383:"696403ae",401:"ec55cfba",512:"3686dc11",531:"7f8ebf07",543:"247105d5",549:"44d13b17",552:"5a4a72c2",583:"da8619ec",647:"825bac72",648:"a1b04d42",742:"e2256b29",802:"dc07e781",846:"b438b2b5",848:"330a724f",849:"6f27e396",864:"e92eb9e5",912:"acf4a827",943:"b18e36e0",970:"d32450d9",976:"0b5b1b34",995:"e744ea91"}[e]+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},c="docsite:",n.l=(e,t,a,o)=>{if(r[e])r[e].push(t);else{var f,d;if(void 0!==a)for(var i=document.getElementsByTagName("script"),u=0;u<i.length;u++){var l=i[u];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==c+a){f=l;break}}f||(d=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,n.nc&&f.setAttribute("nonce",n.nc),f.setAttribute("data-webpack",c+a),f.src=e),r[e]=[t];var s=(t,a)=>{f.onerror=f.onload=null,clearTimeout(b);var c=r[e];if(delete r[e],f.parentNode&&f.parentNode.removeChild(f),c&&c.forEach((e=>e(a))),t)return t(a)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=s.bind(null,f.onerror),f.onload=s.bind(null,f.onload),d&&document.head.appendChild(f)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",n.gca=function(e){return e={17896441:"401",75245258:"531",a94703ab:"48","3734296e":"92",a7bd4aaa:"98",a7456010:"235",f8238c17:"247","74a07cac":"323",d59290e0:"383","48402c64":"512",c65a6c17:"543",a5a01e01:"549","669fcf45":"552","1df93b7f":"583","5e95c892":"647",a9cd8699:"648",aba21aa0:"742",a5ce9ce8:"802",c54f4afd:"846","8b13a4b4":"848","0058b4c6":"849",d92a3c43:"864",c8c1187d:"912","79c522c5":"943","9d7902f6":"970","0e384e19":"976",ef526b88:"995"}[e]||e,n.p+n.u(e)},(()=>{var e={354:0,869:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var c=new Promise(((a,c)=>r=e[t]=[a,c]));a.push(r[2]=c);var o=n.p+n.u(t),f=new Error;n.l(o,(a=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var c=a&&("load"===a.type?"missing":a.type),o=a&&a.target&&a.target.src;f.message="Loading chunk "+t+" failed.\n("+c+": "+o+")",f.name="ChunkLoadError",f.type=c,f.request=o,r[1](f)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,c,o=a[0],f=a[1],d=a[2],i=0;if(o.some((t=>0!==e[t]))){for(r in f)n.o(f,r)&&(n.m[r]=f[r]);if(d)var u=d(n)}for(t&&t(a);i<o.length;i++)c=o[i],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(u)},a=self.webpackChunkdocsite=self.webpackChunkdocsite||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})()})();
-1
View File
@@ -1 +0,0 @@
(()=>{"use strict";var e,t,a,r,o,c={},n={};function f(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return c[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=c,f.c=n,e=[],f.O=(t,a,r,o)=>{if(!a){var c=1/0;for(u=0;u<e.length;u++){a=e[u][0],r=e[u][1],o=e[u][2];for(var n=!0,d=0;d<a.length;d++)(!1&o||c>=o)&&Object.keys(f.O).every((e=>f.O[e](a[d])))?a.splice(d--,1):(n=!1,o<c&&(c=o));if(n){e.splice(u--,1);var i=r();void 0!==i&&(t=i)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[a,r,o]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);f.r(o);var c={};t=t||[null,a({}),a([]),a(a)];for(var n=2&r&&e;"object"==typeof n&&!~t.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,f.d(o,c),o},f.d=(e,t)=>{for(var a in t)f.o(t,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce(((t,a)=>(f.f[a](e,t),t)),[])),f.u=e=>"assets/js/"+({48:"a94703ab",92:"3734296e",98:"a7bd4aaa",235:"a7456010",247:"f8238c17",323:"74a07cac",383:"d59290e0",401:"17896441",512:"48402c64",531:"75245258",543:"c65a6c17",549:"a5a01e01",552:"669fcf45",583:"1df93b7f",647:"5e95c892",648:"a9cd8699",742:"aba21aa0",802:"a5ce9ce8",846:"c54f4afd",848:"8b13a4b4",877:"7c110bd0",912:"c8c1187d",970:"9d7902f6",976:"0e384e19",995:"ef526b88"}[e]||e)+"."+{48:"701b78f3",92:"2a685661",98:"6f58ed8b",235:"b82eb55b",237:"2f3e1c0f",247:"6262bbc6",323:"498b1e0f",383:"64a849cd",401:"2b30ee2f",512:"b3853baa",531:"be6adce8",543:"d6932318",549:"be3bbe29",552:"19e149a8",583:"da8619ec",647:"825bac72",648:"ab50081c",742:"e2256b29",802:"4ddd8f53",846:"5f653a48",848:"6f72e7e2",877:"5e97c0f1",912:"8b139254",970:"f583e3c7",976:"b1ae3102",995:"13aefe0e"}[e]+".js",f.miniCssF=e=>{},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="docsite:",f.l=(e,t,a,c)=>{if(r[e])r[e].push(t);else{var n,d;if(void 0!==a)for(var i=document.getElementsByTagName("script"),u=0;u<i.length;u++){var l=i[u];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+a){n=l;break}}n||(d=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,f.nc&&n.setAttribute("nonce",f.nc),n.setAttribute("data-webpack",o+a),n.src=e),r[e]=[t];var b=(t,a)=>{n.onerror=n.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(a))),t)return t(a)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=b.bind(null,n.onerror),n.onload=b.bind(null,n.onload),d&&document.head.appendChild(n)}},f.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="/",f.gca=function(e){return e={17896441:"401",75245258:"531",a94703ab:"48","3734296e":"92",a7bd4aaa:"98",a7456010:"235",f8238c17:"247","74a07cac":"323",d59290e0:"383","48402c64":"512",c65a6c17:"543",a5a01e01:"549","669fcf45":"552","1df93b7f":"583","5e95c892":"647",a9cd8699:"648",aba21aa0:"742",a5ce9ce8:"802",c54f4afd:"846","8b13a4b4":"848","7c110bd0":"877",c8c1187d:"912","9d7902f6":"970","0e384e19":"976",ef526b88:"995"}[e]||e,f.p+f.u(e)},(()=>{var e={354:0,869:0};f.f.j=(t,a)=>{var r=f.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((a,o)=>r=e[t]=[a,o]));a.push(r[2]=o);var c=f.p+f.u(t),n=new Error;f.l(c,(a=>{if(f.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+c+")",n.name="ChunkLoadError",n.type=o,n.request=c,r[1](n)}}),"chunk-"+t,t)}},f.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,c=a[0],n=a[1],d=a[2],i=0;if(c.some((t=>0!==e[t]))){for(r in n)f.o(n,r)&&(f.m[r]=n[r]);if(d)var u=d(f)}for(t&&t(a);i<c.length;i++)o=c[i],f.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return f.O(u)},a=self.webpackChunkdocsite=self.webpackChunkdocsite||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})()})();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+22 -11
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+8 -8
View File
File diff suppressed because one or more lines are too long
+15 -15
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -4
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://docs.monitor.mogh.tech/docs/build-images</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/choosing-builder</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/pre-build</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/versioning</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/add-server</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/setup-periphery</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/templates</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/core-setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers/lifetime-management</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/file-paths</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/intro</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/permissioning</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/sync-resources</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://docs.monitor.mogh.tech/docs/build-images</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/choosing-builder</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/pre-build</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/build-images/versioning</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/add-server</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/setup-periphery</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/connecting-servers/templates</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/core-setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/deploy-containers/lifetime-management</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/file-paths</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/intro</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/permissioning</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/procedures</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/resources</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/docs/sync-resources</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://docs.monitor.mogh.tech/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>