miroir de
https://github.com/PAPAMICA/Wiki-Tech.io.git
synchronisé 2024-12-28 10:30:24 +01:00
Nouveau départ
Cette révision appartient à :
Parent
0d11057b46
révision
a1f9a2bf87
176 fichiers modifiés avec 85 ajouts et 465 suppressions
|
@ -8,55 +8,55 @@ editor: ckeditor
|
|||
dateCreated: 2021-05-01T11:15:40.303Z
|
||||
-->
|
||||
|
||||
<figure class="image image_resized" style="width:40.89%;"><img src="https://toolbox.opennms.eu/logos/hastebin.png" alt="OpenNMS Toolbox"></figure>
|
||||
<h1>Présentation</h1>
|
||||
<p>Hastebin vous permet de partager avec une interface et un fonctionnement des plus simple en 2 clics du texte avec d'autres utilisateurs comme Pastebin.</p>
|
||||
<p>Vous pouvez retrouver le <a href="https://github.com/seejohnrun/haste-server">Github </a>du projet <a href="https://github.com/seejohnrun/haste-server">ici</a> ainsi que le démo officielle <a href="https://hastebin.com">hastebin.com</a>.</p>
|
||||
<p>Je me à disposition ce service aussi de mon coté, accessible à cette adresse : <a href="https://hastebin.papamica.com">hastebin.papamica.fr</a></p>
|
||||
<h1>Installation</h1>
|
||||
<p>Vous pouvez passer par une installation standard via la documentation disponible sur <a href="https://github.com/seejohnrun/haste-server">Github</a>, le déployer directement depuis mon template d'application dans Portainer (turoriel dispo ici) ou utiliser le docker-compose suivant :</p>
|
||||
<pre><code class="language-plaintext">version: "2"
|
||||
services:
|
||||
|
||||
hastebin:
|
||||
image: rlister/hastebin
|
||||
container_name: hastebin
|
||||
restart: always
|
||||
environment:
|
||||
STORAGE_TYPE: file
|
||||
volumes:
|
||||
- /apps/hastebin/data:/data
|
||||
|
||||
# Facultatif avec Traefik
|
||||
# ports:
|
||||
# - 8080:80
|
||||
|
||||
# Facultatif : support de Loki
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "$URL_LOKI"
|
||||
loki-external-labels: service={{.Name}}
|
||||
|
||||
# Facultatif : support de Traefik
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.hastebin.entrypoints=http"
|
||||
- "traefik.http.routers.hastebin.rule=Host(`<URL>`)"
|
||||
- "traefik.http.middlewares.hastebin-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.hastebin.middlewares=hastebin-https-redirect"
|
||||
- "traefik.http.routers.hastebin-secure.entrypoints=https"
|
||||
- "traefik.http.routers.hastebin-secure.rule=Host(`<URL>`)"
|
||||
- "traefik.http.routers.hastebin-secure.tls=true"
|
||||
- "traefik.http.routers.hastebin-secure.tls.certresolver=http"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external:
|
||||
name: proxy
|
||||
</code></pre>
|
||||
<p>Votre Hastebin sera accessible directement depuis l'URL que vous lui aurais attribué avec Traefik ou depuis <code>http://<server>:<port></code>.</p>
|
||||
<figure class="image image_resized" style="width:40.89%;"><img src="https://toolbox.opennms.eu/logos/hastebin.png" alt="OpenNMS Toolbox"></figure>
|
||||
<h1>Présentation</h1>
|
||||
<p>Hastebin vous permet de partager avec une interface et un fonctionnement des plus simple en 2 clics du texte avec d'autres utilisateurs comme Pastebin.</p>
|
||||
<p>Vous pouvez retrouver le <a href="https://github.com/seejohnrun/haste-server">Github </a>du projet <a href="https://github.com/seejohnrun/haste-server">ici</a> ainsi que le démo officielle <a href="https://hastebin.com">hastebin.com</a>.</p>
|
||||
<p>Je me à disposition ce service aussi de mon coté, accessible à cette adresse : <a href="https://hastebin.papamica.com">hastebin.papamica.fr</a></p>
|
||||
<h1>Installation</h1>
|
||||
<p>Vous pouvez passer par une installation standard via la documentation disponible sur <a href="https://github.com/seejohnrun/haste-server">Github</a>, le déployer directement depuis mon template d'application dans Portainer (turoriel dispo ici) ou utiliser le docker-compose suivant :</p>
|
||||
<pre><code class="language-plaintext">version: "2"
|
||||
services:
|
||||
|
||||
hastebin:
|
||||
image: rlister/hastebin
|
||||
container_name: hastebin
|
||||
restart: always
|
||||
environment:
|
||||
STORAGE_TYPE: file
|
||||
volumes:
|
||||
- /apps/hastebin/data:/data
|
||||
|
||||
# Facultatif avec Traefik
|
||||
# ports:
|
||||
# - 8080:80
|
||||
|
||||
# Facultatif : support de Loki
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "$URL_LOKI"
|
||||
loki-external-labels: service={{.Name}}
|
||||
|
||||
# Facultatif : support de Traefik
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.hastebin.entrypoints=http"
|
||||
- "traefik.http.routers.hastebin.rule=Host(`<URL>`)"
|
||||
- "traefik.http.middlewares.hastebin-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.hastebin.middlewares=hastebin-https-redirect"
|
||||
- "traefik.http.routers.hastebin-secure.entrypoints=https"
|
||||
- "traefik.http.routers.hastebin-secure.rule=Host(`<URL>`)"
|
||||
- "traefik.http.routers.hastebin-secure.tls=true"
|
||||
- "traefik.http.routers.hastebin-secure.tls.certresolver=http"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external:
|
||||
name: proxy
|
||||
</code></pre>
|
||||
<p>Votre Hastebin sera accessible directement depuis l'URL que vous lui aurais attribué avec Traefik ou depuis <code>http://<server>:<port></code>.</p>
|
|
@ -8,21 +8,21 @@ editor: ckeditor
|
|||
dateCreated: 2021-05-09T09:02:57.765Z
|
||||
-->
|
||||
|
||||
<h1>Présentation</h1>
|
||||
<h1>Installation</h1>
|
||||
<h1>Configuration</h1>
|
||||
<h2>Portainer</h2>
|
||||
<figure class="image image_resized" style="width:95.33%;"><img src="https://wiki-tech.io/image_2021-05-03_212514.png"></figure>
|
||||
<h2>Grafana</h2>
|
||||
<pre><code class="language-plaintext"> - GF_AUTH_GENERIC_OAUTH_ENABLED=true
|
||||
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
|
||||
- GF_AUTH_GENERIC_OAUTH_NAME=<NAME>
|
||||
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=<CLIENT_SECRET>
|
||||
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/auth
|
||||
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/token
|
||||
- GF_AUTH_GENERIC_OAUTH_API_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/userinfo
|
||||
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'</code></pre>
|
||||
<h2>WikiJS</h2>
|
||||
<p> </p>
|
||||
<h1>Présentation</h1>
|
||||
<h1>Installation</h1>
|
||||
<h1>Configuration</h1>
|
||||
<h2>Portainer</h2>
|
||||
<figure class="image image_resized" style="width:95.33%;"><img src="https://wiki-tech.io/image_2021-05-03_212514.png"></figure>
|
||||
<h2>Grafana</h2>
|
||||
<pre><code class="language-plaintext"> - GF_AUTH_GENERIC_OAUTH_ENABLED=true
|
||||
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
|
||||
- GF_AUTH_GENERIC_OAUTH_NAME=<NAME>
|
||||
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=<CLIENT_SECRET>
|
||||
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/auth
|
||||
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/token
|
||||
- GF_AUTH_GENERIC_OAUTH_API_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/userinfo
|
||||
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'</code></pre>
|
||||
<h2>WikiJS</h2>
|
||||
<p> </p>
|
|
@ -1,43 +0,0 @@
|
|||
<!--
|
||||
title: Contributeurs
|
||||
description: Voici les précieux contributeurs de Wiki-Tech.io !
|
||||
published: true
|
||||
date: 2021-05-20T14:33:15.589Z
|
||||
tags:
|
||||
editor: code
|
||||
dateCreated: 2021-05-08T12:06:22.520Z
|
||||
-->
|
||||
|
||||
<h1>Les contributeurs</h1>
|
||||
<p> </p>
|
||||
<figure class="table">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td rowspan="3"><iframe src="https://grafana.papamica.fr/d-solo/5wnfCNCGk/statistiques-wiki-tech-io?orgId=3&var-Contributeurs=0xelion&theme=light&panelId=2" width="200" height="70" frameborder="0"></iframe></td>
|
||||
<td rowspan="3">
|
||||
<figure class="image image_resized" style="width:100px;"><img src="https://send.papamica.fr/f.php?h=08SHONEm&p=1" alt=""></figure>
|
||||
<p> </p>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<h2>Mickael Asseline</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<figure class="image image_resized image-style-align-left" style="width:35px;"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACoCAMAAABt9SM9AAAAb1BMVEX///8AovUAmvQAnPQAoPUAnvWKyfnH5fz1+//M5/yn1vr6/f+w2vu83/vE4/zb7v0ZpvXh8f1Hsfbu9/5svviCxvlYt/cuqva23fur1/rU6/1Ar/Z4wvjo9P7f8P2Uzfluv/gAlvSQzPlcuved0vpivCMXAAAIM0lEQVR4nO2d65qqOgyGh6ZFPAMKKOroVu7/Gjcw6uCBc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BiBt8gEGB/PoZopU+w1sTpnWxxzJiVCf16+cC5JxhxP1p2lni+Wbft48GEdYPgPR5b14rC5o4ZqhBrDKwFxNszhyTR8rRKkk/Q2POlmuEWM0akjZ1Fo2O8xwluBx3poWloHCDCtL4HHcmga+jy5uDAuiDzFXo8AF5FzFRwzB6fjoA3pcVFlD9xgOo+TkCjAQcSe+arwds1Mym4/j5bfnLePxYjM578NMJjOZCWUNKzERu9kOsCsKkKPrD8gBWqstqltQDvhDzA1OA4JdvWANrFDtzuFiWC7F4VT3zixNHuEgwR50JUNq6U3JJUUwqLLa9yxNDEYF9gdIlXHY465tJFjJwAdgkWmCt2qWYjfUGbCU0QXj/BmpVOBRfxoGziTSq5cEEX5cp/rFO2oLzaRK+dsPMeqleMmuf+WaBLjMPl2pH5zNWnYP1EglIntYYYW+eNt1XurXUieAnb34G13qidXiHFqiyQk+2Z2bqU7BlvNphgZw4pl9ibLDj/KoV0auTk4mUfonNwwmoyFGXpBwvPF8cgz2l9D/Ibys93aynY+9Pznq/vGPJ/4H65yHmbiySpYAAAAASUVORK5CYII=" ></figure></td>
|
||||
<td><p> @PAPAMICA__</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<figure class="image image_resized image-style-align-left" style="width:35px;"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/LinkedIn_logo_initials.png/768px-LinkedIn_logo_initials.png" alt="Fichier:LinkedIn logo initials.png — Wikipédia"></figure>
|
||||
</td>
|
||||
<td><p>/in/mickael-asseline</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
<p> </p>
|
25
Docker.html
25
Docker.html
|
@ -1,25 +0,0 @@
|
|||
<!--
|
||||
title: Docker
|
||||
description:
|
||||
published: true
|
||||
date: 2021-04-28T15:14:37.672Z
|
||||
tags:
|
||||
editor: ckeditor
|
||||
dateCreated: 2021-04-28T11:51:28.580Z
|
||||
-->
|
||||
|
||||
<h1>Installation</h1>
|
||||
<h1>Commandes utiles</h1>
|
||||
<h2>Docker</h2>
|
||||
<figure class="table">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>docker cp <nom_<i>container>:<chemin_container> <chemin_</i>local></code></td>
|
||||
<td>Copier des données du container vers l'hôte</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
<h2>Docker-compose</h2>
|
||||
<h2>Portainer</h2>
|
|
@ -8,18 +8,18 @@ editor: ckeditor
|
|||
dateCreated: 2021-05-02T08:23:06.971Z
|
||||
-->
|
||||
|
||||
<h1>Présentation</h1>
|
||||
<h1>Installation</h1>
|
||||
<h1>Configuration</h1>
|
||||
<h2>Ajouter une base de données</h2>
|
||||
<h2>Connexion avec Keycloak</h2>
|
||||
<pre><code class="language-plaintext">- GF_AUTH_GENERIC_OAUTH_ENABLED=true
|
||||
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
|
||||
- GF_AUTH_GENERIC_OAUTH_NAME=<NAME>
|
||||
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=<CLIENT_SECRET>
|
||||
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/auth
|
||||
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/token
|
||||
- GF_AUTH_GENERIC_OAUTH_API_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/userinfo
|
||||
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'</code></pre>
|
||||
<h1>Présentation</h1>
|
||||
<h1>Installation</h1>
|
||||
<h1>Configuration</h1>
|
||||
<h2>Ajouter une base de données</h2>
|
||||
<h2>Connexion avec Keycloak</h2>
|
||||
<pre><code class="language-plaintext">- GF_AUTH_GENERIC_OAUTH_ENABLED=true
|
||||
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
|
||||
- GF_AUTH_GENERIC_OAUTH_NAME=<NAME>
|
||||
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
|
||||
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=<CLIENT_SECRET>
|
||||
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/auth
|
||||
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/token
|
||||
- GF_AUTH_GENERIC_OAUTH_API_URL=https://<URL>/auth/realms/<REALMS>/protocol/openid-connect/userinfo
|
||||
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'</code></pre>
|
Certains fichiers ne sont pas affichés car ce diff contient trop de modifications Voir plus
Chargement…
Référencer dans un nouveau ticket