chore: init
This commit is contained in:
commit
8a6c0b62b2
3 changed files with 103 additions and 0 deletions
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM ghcr.io/thedevminertv/gostatic:1.2.3
|
||||
CMD ["-compress-level", "2"]
|
||||
|
||||
COPY ./public /static
|
10
compose.yml
Normal file
10
compose.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
certs:
|
||||
build: .
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.certs.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.certs.rule=Host(`certs.i.devminer.xyz`)"
|
||||
- "traefik.http.routers.certs.service=certs"
|
89
public/index.html
Normal file
89
public/index.html
Normal file
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Certificates / Zertifikate</title>
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
gap: 0;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 1rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul > li > a {
|
||||
padding: 1rem 1.5rem;
|
||||
|
||||
display: block;
|
||||
|
||||
color: #ff00ff;
|
||||
text-decoration: none;
|
||||
|
||||
border: #272727 1px solid;
|
||||
border-radius: 0.5rem;
|
||||
|
||||
transition: border 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.chip {
|
||||
margin-left: 0.5rem;
|
||||
display: inline-block;
|
||||
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.chip > span:first-child {
|
||||
padding: 0.25rem 0.75rem;
|
||||
|
||||
background-color: #353535;
|
||||
border-radius: 0.5rem 0 0 0.5rem;
|
||||
}
|
||||
|
||||
.chip > span:last-child {
|
||||
padding: 0.25rem 0.75rem;
|
||||
|
||||
background-color: #222222;
|
||||
border-radius: 0 0.5rem 0.5rem 0;
|
||||
}
|
||||
|
||||
ul > li > a:hover {
|
||||
border: #ff00ff 1px solid;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Certificates / Zertifikate</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/certificates/root.crt" download>
|
||||
Root CA / Wurzel-Zertifizierungsstelle
|
||||
|
||||
<div class="chip"><span>Expiry</span><span>27.09.2033</span></div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue