Compare commits

..

37 Commits

Author SHA1 Message Date
92f2588d74 Update gitea url
Some checks failed
Docker-build-dev / docker-build (push) Failing after 30s
2023-11-12 21:44:16 +01:00
6051bc25f4 Merge branch 'dev' of github.com:d3vyce/d3vyce.fr into dev 2023-05-17 21:25:54 +02:00
e623e6d60c Add Jinja2 2023-05-17 21:25:15 +02:00
b71f46a2a5 Update index.html 2023-05-17 21:24:38 +02:00
bb2a6e23fa Add rust 2023-05-17 21:22:55 +02:00
e21641405a Add Umami analytics 2023-05-17 21:14:37 +02:00
dc6dc05d3b Update index.html 2023-04-04 22:12:01 +02:00
b16251af96 Create docker-build-dev.yml
All checks were successful
docker-build
2023-04-04 22:09:15 +02:00
fc009f968e Update tags
All checks were successful
docker-build
2023-04-03 13:58:25 -04:00
eeadcd6d71 Fix nginx.conf
All checks were successful
docker-build
2023-04-02 12:12:08 -04:00
c1483fc5ed Add custom nginx conf
All checks were successful
docker-build
2023-04-02 12:08:50 -04:00
590790cb12 Add custom nginx conf
All checks were successful
docker-build
2023-04-02 12:07:00 -04:00
3e3031b96f Add custom nginx conf
All checks were successful
docker-build
2023-04-02 12:06:20 -04:00
facef37213 Add custom nginx conf
All checks were successful
docker-build
2023-04-02 12:02:53 -04:00
b4a4f0f77a Add custom nginx conf
All checks were successful
docker-build
2023-04-02 11:59:26 -04:00
71dfb19647 Fix nginx conf
All checks were successful
docker-build
2023-04-02 11:56:32 -04:00
2790427083 Fix nginx conf
All checks were successful
docker-build
2023-04-02 11:53:32 -04:00
4aebe716d8 Fix nginx conf
All checks were successful
docker-build
2023-04-02 11:50:47 -04:00
4a2e578770 Fix nginx conf
All checks were successful
docker-build
2023-04-02 11:48:09 -04:00
c7199dec63 Fix nginx conf
All checks were successful
docker-build
2023-04-02 11:45:43 -04:00
65b400febb Add custom nginx conf
Some checks failed
docker-build
2023-04-02 11:42:53 -04:00
e4eeddcbf4 Add custom nginx conf
All checks were successful
docker-build
2023-04-02 11:37:58 -04:00
b71e46a786 Update docker-build.yml
All checks were successful
docker-build
2023-04-02 17:00:30 +02:00
13a9b12982 Update date
All checks were successful
docker-build
2023-04-02 10:05:51 -04:00
5591fa1aec Final docker build update
All checks were successful
docker-build
2023-04-02 09:45:45 -04:00
18c8cc3427 Fix docker build
All checks were successful
docker-build
2023-04-02 09:36:04 -04:00
d93c625f73 Fix docker build
Some checks failed
docker-build
2023-04-02 09:33:33 -04:00
0eb512cb98 Fix docker build
Some checks failed
docker-build
2023-04-02 09:32:21 -04:00
433111a70d Fix docker build 2023-04-02 09:31:43 -04:00
5050a0c668 Fix docker build 2023-04-02 09:28:22 -04:00
750d47103c Fix docker build
Some checks failed
docker-build
2023-04-02 09:10:09 -04:00
ffcd129e56 Fix docker build 2023-04-02 09:08:53 -04:00
d0b29a77aa Fix docker build
Some checks failed
docker-build
2023-04-02 08:58:25 -04:00
a10e7074a2 Fix docker build
Some checks failed
docker-build
2023-04-02 08:54:02 -04:00
12de378234 Fix docker build
Some checks failed
docker-build
2023-04-02 08:52:30 -04:00
019512a670 Add dockerfile+build
Some checks failed
docker-build
2023-04-02 08:48:50 -04:00
918e8be69f Update 404 page with PNG icon 2022-10-22 15:54:40 +02:00
43 changed files with 112 additions and 3 deletions

View File

@ -0,0 +1,20 @@
name: Docker-build-dev
on:
push:
branches: [ dev ]
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up docker
run: |
apt update
apt install -y docker.io
- name: Build/Push
run: |
echo ${{ secrets.GIT_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin git.mars.local
docker build -t d3vyce.fr .
docker tag d3vyce.fr git.mars.local/d3vyce/d3vyce.fr:dev
docker push git.mars.local/d3vyce/d3vyce.fr:dev

View File

@ -0,0 +1,20 @@
name: Docker-build
on:
push:
branches: [ master ]
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up docker
run: |
apt update
apt install -y docker.io
- name: Build/Push
run: |
echo ${{ secrets.GIT_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin git.d3vyce.fr
docker build -t d3vyce.fr .
docker tag d3vyce.fr git.d3vyce.fr/d3vyce/d3vyce.fr:latest
docker push git.d3vyce.fr/d3vyce/d3vyce.fr:latest

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx
COPY html/ /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -20,6 +20,8 @@
<!-- Roboto Font -->
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<script src="js/script.js"></script>
<!-- Umami Analytics -->
<script async src="https://analytics.d3vyce.fr/script.js" data-website-id="4c83df85-5566-4647-ba67-b3724890baca"></script>
</head>
<body>
<header class="masthead" id="home">
@ -27,7 +29,7 @@
<div class="row head-row align-items-center h-100 justify-content-evenly text-center">
<div class="col-lg-12 col-xl-5">
<h1 class="text-white font-weight-bold"><img src="/assets/img/error.avif" width="12%"> 404 Not Found</h1>
<h1 class="text-white font-weight-bold"><img src="/assets/img/error.png" width="12%"> 404 Not Found</h1>
<p class="text-white">The requested URL was not found on this server !</p>
<hr class="divider" />
<div class="d-grid gap-4 col-10 mx-auto">

View File

@ -19,6 +19,8 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Roboto Font -->
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<!-- Umami Analytics -->
<script async src="https://analytics.d3vyce.fr/script.js" data-website-id="4c83df85-5566-4647-ba67-b3724890baca"></script>
<script src="js/script.js"></script>
<script src="js/admin.js"></script>
</head>

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 110 KiB

View File

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 219 KiB

View File

Before

Width:  |  Height:  |  Size: 352 KiB

After

Width:  |  Height:  |  Size: 352 KiB

BIN
html/assets/img/error.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -25,6 +25,8 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Roboto Font -->
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<!-- Umami Analytics -->
<script async src="https://analytics.d3vyce.fr/script.js" data-website-id="4c83df85-5566-4647-ba67-b3724890baca"></script>
</head>
<body>
<!-- Home -->
@ -160,6 +162,7 @@
<span class="badge bg-dark-3">C</span>
<span class="badge bg-dark-3">C#</span>
<span class="badge bg-dark-3">Python</span>
<span class="badge bg-dark-3">Rust</span>
<span class="badge bg-dark-3">Bash</span>
<span class="badge bg-dark-3">HTML</span>
<span class="badge bg-dark-3">CSS</span>
@ -167,6 +170,10 @@
<span class="badge bg-dark-3">JS</span>
<span class="badge bg-dark-3">MySQL</span>
<span class="badge bg-dark-3">Ansible</span>
<span class="badge bg-dark-3">Jinja2</span>
<span class="badge bg-dark-3">Git</span>
<span class="badge bg-dark-3">Elastic</span>
<span class="badge bg-dark-3">CI/CD</span>
</p>
</div>
<div class="mt-5 col-lg-3 col-md-12 text-center reveal fade">
@ -188,12 +195,16 @@
<h3 class="text-white h4 mb-3">Networking</h3>
<p class="mt-4">
<span class="badge bg-dark-3">Wireguard</span>
<span class="badge bg-dark-3">IPSec</span>
<span class="badge bg-dark-3">MPLS</span>
<span class="badge bg-dark-3">BGP</span>
<span class="badge bg-dark-3">Firewall</span>
<span class="badge bg-dark-3">OPNsense</span>
<span class="badge bg-dark-3">WDM</span>
<span class="badge bg-dark-3">Docker</span>
<span class="badge bg-dark-3">Kubernetes</span>
<span class="badge bg-dark-3">KVM</span>
<span class="badge bg-dark-3">IPtable</span>
</p>
</div>
</div>
@ -326,7 +337,7 @@
<a href="https://github.com/d3vyce" target="_blank" rel="noopener noreferrer"><i class="fa test fa-github fa-lg"></i></a>
<a href="https://www.d3vyce.fr" target="_blank" rel="noopener noreferrer"><i class="fa test fa-bookmark fa-lg"></i></a>
</div>
<div class="small text-center text-muted">d3vyce 2022 &copy; All rights reserved</div>
<div class="small text-center text-muted">d3vyce 2023 &copy; All rights reserved</div>
<div class="small text-center text-muted"><a href="#home">Home</a><a href="#about">About</a><a href="#skills">Skills</a><a href="#projects">Projects</a></div>
</div>
</footer>
@ -572,4 +583,4 @@
})
</script>
</body>
</html>
</html>

View File

@ -13,6 +13,8 @@
<link rel="stylesheet" href="css/social.css">
<link rel="stylesheet" href="css/reset.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel='stylesheet' type='text/css'>
<!-- Umami Analytics -->
<script async src="https://analytics.d3vyce.fr/script.js" data-website-id="4c83df85-5566-4647-ba67-b3724890baca"></script>
</head>
<body>
<header class="masthead" id="home">

49
nginx.conf Normal file
View File

@ -0,0 +1,49 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
server {
listen 80 default_server;
root /usr/share/nginx/html;
index index.html index.htm index.php;
server_name _;
client_max_body_size 0;
location / {
if ($request_uri ~ ^/(.*)\.html) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ =404;
}
error_page 404 /404-error.html;
}
}