This commit is contained in:
Gilles Mouchet 2025-06-29 20:55:30 +02:00
parent 719b26cf97
commit 79d158c04a
49 changed files with 0 additions and 48 deletions

View File

@ -17,4 +17,3 @@ DOCKER_USER=gmouchet
NGINX_PORT=8085
PMA_PORT_WEB_HTTPS=8084
# elastic version
ELASTIC_VERSION=9.0.2

View File

@ -2,4 +2,3 @@
"editor.fontSize": 13,
"terminal.integrated.fontSize": 13,
"window.zoomLevel": 1.4,
}

View File

@ -30,4 +30,3 @@ Il est strictement interdit de :
- Lutiliser dans des services ou produits commerciaux.
- Le distribuer en échange dune contrepartie financière, directe ou indirecte.
Ce script est fourni "tel quel", sans garantie daucune sorte.

View File

@ -238,4 +238,3 @@ done
---
### 1.0.0 (2024-03-01)
- Initial project creation.

View File

@ -41,4 +41,3 @@ data:
#fastcgi_pass 127.0.0.1:9000;
}
}

1
cron
View File

@ -1 +0,0 @@
/usr/bin/mysqldump --verbose --hex-blob --complete-insert --single-transaction --skip-lock-tables --skip-add-locks --routines -h service-mariadb -uroot -ppa55w0rd wwwgmo | gzip - > /var/backups/$MYSQL_DATABASE-$(date +%Y-%m-%d_%H%M%S).sql.gz; find /var/backups/ -type f -mindepth 1 -mtime +14 -exec rm {} \;

View File

@ -20,4 +20,3 @@ curl -X POST http://localhost:9200/_security/user/kibana_system_user \
"full_name" : "Kibana System User"
}'
echo "--- kibana user successfully created."

View File

@ -9,4 +9,3 @@ ELASTICSEARCH_PASSWORD=kibanapassword
# acitve https
SERVER_SSL_ENABLED=true
SERVER_SSL_KEY="/usr/share/kibana/config/certs/tls.key"
SERVER_SSL_CERTIFICATE="/usr/share/kibana/config/certs/tls.crt"

View File

@ -10,4 +10,3 @@ PMA_HOST=mariadb
PMA_USER=root
PMA_PASSWORD=pa55w0rd
PMA_PORT=3306
PMA_ARBITRARY=1

View File

@ -10,4 +10,3 @@
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
</IfModule>

View File

@ -1,2 +1 @@
<?php
$cfg['blowfish_secret'] = 'UseASuperSecureLongRandomStringHere1234567890!';

View File

@ -22,4 +22,3 @@ spec:
name: service-kibana
port:
number: 5601

View File

@ -53,4 +53,3 @@ spec:
volumes:
- name: mariadb-datadir-bck
persistentVolumeClaim:
claimName: pvc-mariadb-datadir-bck

View File

@ -9,4 +9,3 @@ type: Opaque
stringData:
MYSQL_ROOT_PASSWORD: "{{ required ".Values.mariadb.rootPass entry is required!" .Values.mariadb.rootPass }}"
MYSQL_PASSWORD: "{{ required ".Values.mariadb.dbPass entry is required!" .Values.mariadb.dbPass }}"

View File

@ -40,4 +40,3 @@ spec:
name: service-site
port:
number: 8080

View File

@ -14,4 +14,3 @@ spec:
storageClassName: {{ required ".Values.common.pvc.storageClassName entry is required!" .Values.common.pvc.storageClassName }}
resources:
requests:
storage: {{ required ".Values.site.persistentVolumeClaim.storageRequest entry is required!" .Values.site.persistentVolumeClaim.storageRequest }}

View File

@ -7,4 +7,3 @@ kind: Secret
metadata:
name: secret-ingress-tls
namespace: {{ .Release.Namespace }}
type: kubernetes.io/tls

View File

@ -5,4 +5,3 @@ kind: Secret
metadata:
name: secret-regcred
namespace: {{ .Release.Namespace }}
type: kubernetes.io/dockerconfigjson

View File

@ -9,4 +9,3 @@ type: Opaque
stringData:
DB_PASSWORD: "{{ required ".Values.mariadb.dbPass entry is required!" .Values.mariadb.dbPass }}"
ES_PASSWORD: "{{ required ".Values.elastic.password entry is required!" .Values.elastic.password }}"

View File

@ -15,4 +15,3 @@ spec:
selector:
app: site
tier: backend
type: ClusterIP

View File

@ -43,4 +43,3 @@ spec:
name: service-pma
port:
number: 80

View File

@ -11,4 +11,3 @@ spec:
ports:
- protocol: TCP
port: 80
targetPort: 80

View File

@ -113,4 +113,3 @@ site:
kindStorageClassName: standard
k8sStorageClassName: longhorn

View File

@ -122,4 +122,3 @@ site:

View File

@ -121,4 +121,3 @@ site:

View File

@ -31,4 +31,3 @@ function checkindex($user,$password,$host,$index)
}
return checkindex($es_user,$es_password,$es_host,$es_index)
?>

View File

@ -13,4 +13,3 @@ function connect($host, $db, $user, $password)
}
}
return connect($host, $db, $user, $password);

View File

@ -63,4 +63,3 @@ if (($handle = fopen($data_csv_file, "r")) !== FALSE) {
}
?>
</body>
</html>

View File

@ -2047,4 +2047,3 @@ html {
align-self: stretch !important;
}
}
/*# sourceMappingURL=bootstrap-grid.css.map */

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

View File

@ -327,4 +327,3 @@ template {
[hidden] {
display: none !important;
}
/*# sourceMappingURL=bootstrap-reboot.css.map */

File diff suppressed because one or more lines are too long

View File

@ -5,4 +5,3 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */

File diff suppressed because one or more lines are too long

View File

@ -8972,4 +8972,3 @@ a.text-dark:hover, a.text-dark:focus {
border: 1px solid #ddd !important;
}
}
/*# sourceMappingURL=bootstrap.css.map */

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

View File

@ -62,4 +62,3 @@ echo "<b>Cluster health status:</b> ".$array['status']."</p>";
echo "<h4>Elasticsearch client for PHP</h4>";
echo "<p><b>Package name:</b> ".$phpPackName."<br>";
echo "<b>Package version:</b> ".$phpPackVersion."</p>";
?>

View File

@ -2,4 +2,3 @@
<path fill-rule="evenodd" d="M5.707 13.707a1 1 0 01-.39.242l-3 1a1 1 0 01-1.266-1.265l1-3a1 1 0 01.242-.391L10.086 2.5a2 2 0 012.828 0l.586.586a2 2 0 010 2.828l-7.793 7.793zM3 11l7.793-7.793a1 1 0 011.414 0l.586.586a1 1 0 010 1.414L5 13l-3 1 1-3z" clip-rule="evenodd"/>
<path fill-rule="evenodd" d="M9.854 2.56a.5.5 0 00-.708 0L5.854 5.855a.5.5 0 01-.708-.708L8.44 1.854a1.5 1.5 0 012.122 0l.293.292a.5.5 0 01-.707.708l-.293-.293z" clip-rule="evenodd"/>
<path d="M13.293 1.207a1 1 0 011.414 0l.03.03a1 1 0 01.03 1.383L13.5 4 12 2.5l1.293-1.293z"/>
</svg>

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 678 B

View File

@ -1,4 +1,3 @@
<svg class="bi bi-trash" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M5.5 5.5A.5.5 0 016 6v6a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zm2.5 0a.5.5 0 01.5.5v6a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zm3 .5a.5.5 0 00-1 0v6a.5.5 0 001 0V6z"/>
<path fill-rule="evenodd" d="M14.5 3a1 1 0 01-1 1H13v9a2 2 0 01-2 2H5a2 2 0 01-2-2V4h-.5a1 1 0 01-1-1V2a1 1 0 011-1H6a1 1 0 011-1h2a1 1 0 011 1h3.5a1 1 0 011 1v1zM4.118 4L4 4.059V13a1 1 0 001 1h6a1 1 0 001-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z" clip-rule="evenodd"/>
</svg>

Before

Width:  |  Height:  |  Size: 566 B

After

Width:  |  Height:  |  Size: 560 B

View File

@ -1,3 +1,2 @@
<?php
phpinfo();
?>

View File

@ -39,4 +39,3 @@ if ($CSVvar !== FALSE) {
<?php
}
fclose($CSVvar);
?>

View File

@ -95,4 +95,3 @@ Yshi;Potte;yshi@yshipotte.ch;
Yvan;Descloux;yvan@yvandescloux.ch;
Yves;Rogne;yves@yvesrogne.ch;
Yves;Vaurien;yves@yvesvaurien.ch;
Yvon;Pasbien;yvon@yvonpasbien.ch;
1 Alex Kuze alex@alexkuze.ch
95 Yvan Descloux yvan@yvandescloux.ch
96 Yves Rogne yves@yvesrogne.ch
97 Yves Vaurien yves@yvesvaurien.ch
Yvon Pasbien yvon@yvonpasbien.ch

View File

@ -1,3 +1,2 @@
Alex;Kuze;alex@alexkuze.ch;
Ali;Gator;ali@aligator.ch;
Alphonse;Danltas;alphonse@alphonsedanltas.ch;
1 Alex Kuze alex@alexkuze.ch
2 Ali Gator ali@aligator.ch
Alphonse Danltas alphonse@alphonsedanltas.ch

View File

@ -103,4 +103,3 @@ if ($index_status == 200) {
else {
echo "Problem with index <b>".$es_index."</b> (".$index_status.")";
}
?>