diff --git a/.vitepress/config.ts b/.vitepress/config.ts index af5966d..04ce7f7 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -13,7 +13,7 @@ export default defineConfig({ description: "Infrastructure et outils libres utilisés", themeConfig: { // https://vitepress.dev/reference/default-theme-config - logo: '/img/yeswiki.pro_logo.png', + logo: '/yeswiki.pro_logo.png', outlineTitle: 'Navigation rapide', docFooter: { prev: 'Page précédente', @@ -57,8 +57,7 @@ export default defineConfig({ { text: 'Hébergement yeswiki.pro', link: '/hebergement' }, { text: 'Ferme à CLIC', link: '/ferme-clic' }, { text: 'CLIC yeswiki.net', link: '/clic-yeswiki-net' }, - { text: 'Monitoring', link: '/monitoring' }, - { text: 'Sites', link: '/sites' } + { text: 'Monitoring', link: '/monitoring' } ] }, { @@ -83,7 +82,7 @@ export default defineConfig({ { icon: {svg: ''}, link: 'https://code.mrflos.pw/mrflos/doc.yeswiki.pro' } ], footer: { - message: 'Publié sous licence AGPL 3.0.', + message: 'Site réalisé avec VitePress. Publié sous licence AGPL 3.0.', copyright: 'Copyleft © 2023-présent YesWiki.pro' } } diff --git a/infrastructure.md b/infrastructure.md index 90f39ba..77d6780 100644 --- a/infrastructure.md +++ b/infrastructure.md @@ -1,85 +1,24 @@ # Infrastructure -This page demonstrates some of the built-in markdown extensions provided by VitePress. +L'idée est de tenter d'avoir un système d'information résilient en proposant un système distribué avec un début de haute disponibilité. Les taches de backups et de monitoring sont effectuées hors infrastructure serveur et autohébergés. -## Syntax Highlighting +## Serveurs et services proposés -VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: +Les serveurs sont presques tous sur la distribution linux **Debian Bullseye**, à l'exception des systèmes de backups (**Synology DSM**) et monitoring (**NixOS**). -**Input** +| Serveur | Lieu | Raison d'être | Caractéristiques techniques | +| --------------------- | ------------------------ | --------------------------------- | ----------------------------------------------- | +| Hébergement Wikis 1/2 | Globenet (Paris, FR) | Héberger les yeswikis | Serveur web Nginx, PHP 8, Mysql, cluster garage | +| Hébergement Wikis 2/2 | Hetzner (Frankfurt, DE) | Héberger les yeswikis | Serveur web Nginx, PHP 8, Mysql, cluster garage | +| Ferme à CLIC | Hetzner (Frankfurt, DE) | Héberger les serveurs CLIC | Proxmox, containers Yunohost, cluster garage | +| Backups 1/3 | Autohébergé (Moscou, RU) | Sauvegarder les yeswikis et CLIC | Borgbackup sur NAS Synology | +| Backups 2/3 | Autohébergé (Claret, FR) | Sauvegarder les yeswikis et CLIC | Borgbackup sur NAS Synology | +| Backups 3/3 | Autohébergé (Frasnes, BE)| Sauvegarder les yeswikis et CLIC | Borgbackup sur NAS Synology | +| Monitoring | Autohébergé (Moscou, RU) | Monitorer l'infra et alerter si pb| Prometheus, Grafana, Uptime Kurma | -```` -```js{4} -export default { - data () { - return { - msg: 'Highlighted!' - } - } -} -``` -```` +## Principaux sites Internet -**Output** +Les noms de domaines sont réservés chez Gandi, pour bénéficier de leur API, des tarifs revendeurs, et des 2 emails gratuits. -```js{4} -export default { - data () { - return { - msg: 'Highlighted!' - } - } -} -``` +- [yeswiki.pro](https://yeswiki.pro) : le yeswiki servant de site public, à noter qu'il est installé sur un serveur à part afin de permettre de nous contacter si le reste de l'infrastructure serait en panne -## Custom Containers - -**Input** - -```md -::: info -This is an info box. -::: - -::: tip -This is a tip. -::: - -::: warning -This is a warning. -::: - -::: danger -This is a dangerous warning. -::: - -::: details -This is a details block. -::: -``` - -**Output** - -::: info -This is an info box. -::: - -::: tip -This is a tip. -::: - -::: warning -This is a warning. -::: - -::: danger -This is a dangerous warning. -::: - -::: details -This is a details block. -::: - -## More - -Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown). diff --git a/img/yeswiki.pro_logo.png b/public/yeswiki.pro_logo.png similarity index 100% rename from img/yeswiki.pro_logo.png rename to public/yeswiki.pro_logo.png diff --git a/sites.md b/sites.md deleted file mode 100644 index c5bac2e..0000000 --- a/sites.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -outline: deep ---- - -# Sites - -This page demonstrates usage of some of the runtime APIs provided by VitePress. - -The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: - -```md - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
-``` - - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
- -## More - -Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).