Compare commits
No commits in common. "3cc79c4197b65aaf876e56cbf94da19a6d552d13" and "c339aebfc54a468c625cde459618581f9bea5cb9" have entirely different histories.
3cc79c4197
...
c339aebfc5
82
Manifests/Mirror/Mirror-Web/Mainpage/index.html
Normal file
82
Manifests/Mirror/Mirror-Web/Mainpage/index.html
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="flex h-screen w-full items-center justify-center bg-[#1e1e1e] font-mono text-[#c6c6c6]">
|
||||||
|
<div class="border border-[#4CAF50] p-12 rounded-lg">
|
||||||
|
<header class="bg-[#2d2d2d] px-4 py-2">
|
||||||
|
<h1 class="text-lg font-bold text-[#4CAF50]">0xEmma's Mirrors</h1>
|
||||||
|
</header>
|
||||||
|
<main class="flex-1 overflow-auto px-4 py-6">
|
||||||
|
<ul class="space-y-2">
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/almalinux/">
|
||||||
|
AlmaLinux
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/arch/">
|
||||||
|
Arch
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/blackarch/">
|
||||||
|
BlackArch
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/epel/">
|
||||||
|
Fedora EPEL
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/kali-images/">
|
||||||
|
Kali ISOs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/kali/">
|
||||||
|
Kali
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/parrot/">
|
||||||
|
Parrot
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/ubuntu-releases/">
|
||||||
|
Ubuntu ISOs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/ubuntu/">
|
||||||
|
Ubuntu
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/voidlinux/">
|
||||||
|
Voidlinux
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
96
Manifests/Mirror/Mirror-Web/Mainpage/mirror-configmap.yml
Normal file
96
Manifests/Mirror/Mirror-Web/Mainpage/mirror-configmap.yml
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
kind: ConfigMap
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: caddy-config-mirror
|
||||||
|
namespace: default
|
||||||
|
data:
|
||||||
|
index.html: |
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>0xEmma's Mirrors</title>
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="flex h-screen w-full items-center justify-center bg-[#1e1e1e] font-mono text-[#c6c6c6]">
|
||||||
|
<div class="border border-[#4CAF50] p-12 rounded-lg">
|
||||||
|
<header class="bg-[#2d2d2d] px-4 py-2">
|
||||||
|
<h1 class="text-lg font-bold text-[#4CAF50]">0xEmma's Mirrors</h1>
|
||||||
|
</header>
|
||||||
|
<main class="flex-1 overflow-auto px-4 py-6">
|
||||||
|
<ul class="space-y-2">
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/almalinux/">
|
||||||
|
AlmaLinux
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/arch/">
|
||||||
|
Arch
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/blackarch/">
|
||||||
|
BlackArch
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/epel/">
|
||||||
|
Fedora EPEL
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/kali-images/">
|
||||||
|
Kali ISOs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/kali/">
|
||||||
|
Kali
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/parrot/">
|
||||||
|
Parrot
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/ubuntu-releases/">
|
||||||
|
Ubuntu ISOs
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/ubuntu/">
|
||||||
|
Ubuntu
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="text-[#9cdcfe]">$</span>
|
||||||
|
<a class="text-[#4CAF50] hover:underline" href="/voidlinux/">
|
||||||
|
Voidlinux
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
robots.txt: |
|
||||||
|
user-agent: *
|
||||||
|
Allow: /$
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
User-agent: ClaudeBot
|
||||||
|
Disallow: /
|
@ -23,18 +23,25 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mirror
|
- name: mirror
|
||||||
image: ghcr.io/0xemma/mirror-main:v1.0.0
|
image: 0xemma/nginx-autoindex:json-2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 800Mi
|
memory: 8000Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 800Mi
|
memory: 8000Mi
|
||||||
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /var/lib/nginx/html
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 80
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 3000
|
port: 80
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: caddy-config-mirror
|
||||||
|
@ -10,4 +10,4 @@ spec:
|
|||||||
- name: mirror
|
- name: mirror
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 3000
|
targetPort: 80
|
||||||
|
Loading…
x
Reference in New Issue
Block a user