Cleaning Infolegale from sources and test results file

This commit is contained in:
Kirby 2023-04-06 11:16:23 +02:00
parent 7c6114ec3c
commit 7a64cfdf66
6 changed files with 13 additions and 24 deletions

View File

@ -11,7 +11,7 @@ WORKDIR /app/
RUN apt update && apt install -y procps less netcat libmariadb-dev-compat libmariadb-dev mariadb-client gcc nginx-light RUN apt update && apt install -y procps less netcat libmariadb-dev-compat libmariadb-dev mariadb-client gcc nginx-light
COPY ./docker/nginx/updatesdashboard.conf /etc/nginx/sites-enabled/updatesdashboard.conf COPY ./docker/nginx/dev.conf /etc/nginx/sites-enabled/updatesdashboard.conf
RUN rm -f /etc/nginx/sites-enabled/default RUN rm -f /etc/nginx/sites-enabled/default
COPY ./docker/scripts/entrypoint.dev.sh /usr/local/bin/entrypoint COPY ./docker/scripts/entrypoint.dev.sh /usr/local/bin/entrypoint

View File

@ -26,7 +26,7 @@ Following procedure to install the apps.
``` ```
useradd -d /var/www/updates-dashboard/ -g www-data -M -s /bin/false www-updash useradd -d /var/www/updates-dashboard/ -g www-data -M -s /bin/false www-updash
cd /var/www/ cd /var/www/
git clone git@gitlab.infolegale.net:infrastructure/updates-dashboard.git updates-dashboard git clone <URL> updates-dashboard
chown -R www-updash:www-data updates-dashboard chown -R www-updash:www-data updates-dashboard
touch /var/log/gunicorn.log touch /var/log/gunicorn.log
chown www-updash:www-data /var/log/gunicorn.log chown www-updash:www-data /var/log/gunicorn.log

View File

@ -26,7 +26,7 @@
<!-- Navigation --> <!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}">Infolegale - Servers information</a> <a class="navbar-brand" href="{% url 'index' %}">Updates Dashboard</a>
</div> </div>
<div class="nav navbar-right top-nav"> <div class="nav navbar-right top-nav">
<!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> --> <!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> -->

View File

@ -31,7 +31,7 @@
<!-- Navigation --> <!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}">Infolegale - Servers Informations</a> <a class="navbar-brand" href="{% url 'index' %}">Updates Dashboard</a>
</div> </div>
<div class="nav navbar-right top-nav"> <div class="nav navbar-right top-nav">
<!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> --> <!-- <button class="btn btn&#45;lg btn&#45;danger disabled">Confidential information</button> -->

View File

@ -1,19 +1,8 @@
vlearning-db001-tst.infolegale.net;Debian;10;0;5 server1;Debian;8;0;5
app-db001-tst.infolegale.net;Debian;10;0;9 server2;Debian;9;0;9
consults-db001-tst.infolegale.net;Debian;10;0;147 server3;Debian;10;0;147
vador-db001-tst.infolegale.net;Debian;10;0;147 server4;Debian;11;0;147
tlearning-db003-tst.infolegale.net;Ubuntu;18.04;0;308 server5;Ubuntu;20.04;0;308
transdb-db001-tst.infolegale.net;Debian;10;0;147 server6;Ubuntu;22.04;0;147
mysql8-db001-tst.infolegale.net;Debian;11;3;119 server7;OpenBSD;6.4;3;119
mongo-db001-tst.infolegale.net;Ubuntu;20.04;0;28 server8;Ubuntu;20.04;0;28
orchestrator-mgr001-tst.infolegale.net;Ubuntu;20.04;0;28
redis5-db001-tst.infolegale.net;Debian;10;0;326
redis-db001-tst.infolegale.net;Ubuntu;18.04;0;326
docker-hpv001-tst.infolegale.net;Ubuntu;20.04;0;106
docker-hpv002-tst.infolegale.net;Ubuntu;20.04;0;398
docker-hpv003-tst.infolegale.net;Ubuntu;20.04;0;125
rundeck-sch001-tst.infolegale.net;Debian;10;0;91
proxysql-db001-tst.infolegale.net;Ubuntu;20.04;0;475
docker-hpv005-tst.infolegale.net;Ubuntu;20.04;0;119
docker-hpv004-tst.infolegale.net;Ubuntu;20.04;0;28
docker-hpv006-tst.infolegale.net;Ubuntu;20.04;0;309

1 vlearning-db001-tst.infolegale.net server1 Debian 10 8 0 5
2 app-db001-tst.infolegale.net server2 Debian 10 9 0 9
3 consults-db001-tst.infolegale.net server3 Debian 10 10 0 147
4 vador-db001-tst.infolegale.net server4 Debian 10 11 0 147
5 tlearning-db003-tst.infolegale.net server5 Ubuntu 18.04 20.04 0 308
6 transdb-db001-tst.infolegale.net server6 Debian Ubuntu 10 22.04 0 147
7 mysql8-db001-tst.infolegale.net server7 Debian OpenBSD 11 6.4 3 119
8 mongo-db001-tst.infolegale.net server8 Ubuntu 20.04 20.04 0 28
orchestrator-mgr001-tst.infolegale.net Ubuntu 20.04 0 28
redis5-db001-tst.infolegale.net Debian 10 0 326
redis-db001-tst.infolegale.net Ubuntu 18.04 0 326
docker-hpv001-tst.infolegale.net Ubuntu 20.04 0 106
docker-hpv002-tst.infolegale.net Ubuntu 20.04 0 398
docker-hpv003-tst.infolegale.net Ubuntu 20.04 0 125
rundeck-sch001-tst.infolegale.net Debian 10 0 91
proxysql-db001-tst.infolegale.net Ubuntu 20.04 0 475
docker-hpv005-tst.infolegale.net Ubuntu 20.04 0 119
docker-hpv004-tst.infolegale.net Ubuntu 20.04 0 28
docker-hpv006-tst.infolegale.net Ubuntu 20.04 0 309

View File

@ -1,6 +1,6 @@
server { server {
listen 3001; listen 3001;
server_name updates-dashboard.infolegale.net; server_name localhost;
# css, js… # css, js…
location /static { location /static {