Compare commits

..

No commits in common. "9cb9849d70128a61e58704f5fc342f6ceb535dec" and "c0caaf8e47dce60d3ca6fa828c607f128fa89021" have entirely different histories.

11 changed files with 71 additions and 103 deletions

1
.gitignore vendored
View file

@ -27,4 +27,3 @@ hugo.linux
# Built Visual Studio Code Extensions # Built Visual Studio Code Extensions
*.vsix *.vsix
.DS_Store

View file

@ -1,12 +1,10 @@
$body-font-color: #ffffff; $body-font-color: #d3d3d3;
/* old: #d3d3d3 */
$background-color: #212121; $background-color: #212121;
$link-font-color: #1492FF; $link-font-color: #1492FF;
$heading-font-color: #FF85B8; $heading-font-color: #FF85B8;
$code-font-color: #a4c0f4; $code-font-color: #a4c0f4;
$special-font-color: #c2f486; $special-font-color: #c2f486;
$main-font-family: 'Open Sans', sans-serif; $main-font-family: 'Open Sans', sans-serif;
$heading-font-family: 'Kreon', serif;
$min-device-width: 940px; $min-device-width: 940px;
@font-face { @font-face {
@ -17,20 +15,12 @@ $min-device-width: 940px;
src: url('/fonts/open-sans-v35-latin-regular.woff2') format('woff2'); src: url('/fonts/open-sans-v35-latin-regular.woff2') format('woff2');
} }
@font-face {
font-display: swap;
font-family: 'Kreon';
font-style: normal;
font-weight: 400;
src: url('/fonts/kreon-v37-latin-regular.woff2') format('woff2');
}
a { a {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
text-decoration: none; text-decoration: none;
color: $link-font-color; color: $link-font-color;
@ -44,6 +34,7 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
font-family: $main-font-family; font-family: $main-font-family;
font-size: 1.4em; font-size: 1.4em;
@ -58,46 +49,67 @@ content h1 {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-family: $heading-font-family; font: inherit;
font-size: 1.6em; font-size: 1.5em;
vertical-align: baseline; vertical-align: baseline;
line-height: 100%; line-height: 100%;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
color: $heading-font-color; color: $heading-font-color;
/*
&:before {
content: "# ";
content: "# " / "";
}
&:after {
content: "-----";
content: "-----" / "";
display: block;
}
*/
} }
content h2 { content h2 {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-size: 1.4em; font: inherit;
font-family: $heading-font-family;
vertical-align: baseline; vertical-align: baseline;
line-height: 100%; line-height: 100%;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
color: $heading-font-color; color: $heading-font-color;
&:before {
content: "## ";
content: "## " / "";
}
} }
content h3 { content h3 {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-family: $heading-font-family; font: inherit;
font-size: 1.2em;
vertical-align: baseline; vertical-align: baseline;
line-height: 100%; line-height: 100%;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
color: $heading-font-color; color: $heading-font-color;
&:before {
content: "### ";
content: "### " / "";
}
} }
html { html {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
@ -107,6 +119,7 @@ content {
padding: 0; padding: 0;
border: 0; border: 0;
padding-left: 10px; padding-left: 10px;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
@ -120,6 +133,7 @@ content p {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
margin-bottom: .75rem; margin-bottom: .75rem;
@ -134,6 +148,7 @@ content span {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
@ -141,6 +156,7 @@ content strong {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
font-weight: 700; font-weight: 700;
color: $heading-font-color; color: $heading-font-color;
@ -150,6 +166,7 @@ content u {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
@ -157,6 +174,7 @@ content ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
vertical-align: baseline; vertical-align: baseline;
list-style-type: none; list-style-type: none;
margin-left: 1rem; margin-left: 1rem;
@ -181,10 +199,6 @@ content .special {
font-style: normal; font-style: normal;
} }
content pre>code {
font-family: monospace;
}
a.disabled { a.disabled {
pointer-events: none; pointer-events: none;
text-decoration: none; text-decoration: none;
@ -208,19 +222,9 @@ a.disabled {
content code { content code {
line-break: anywhere; line-break: anywhere;
overflow-wrap: anywhere;
word-wrap: break-word;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
} }
nav { nav {
font-family: $heading-font-family;
padding-bottom: 5px !important;
.hero-text { .hero-text {
text-align: center !important; text-align: center !important;
font-weight: bold; font-weight: bold;
@ -229,7 +233,7 @@ a.disabled {
.float-right, .float-right,
.float-left { .float-left {
float: none !important; float: none !important;
margin: 0 !important; margin: 0;
a { a {
text-align: center; text-align: center;
@ -254,8 +258,7 @@ nav {
overflow: hidden; overflow: hidden;
border-bottom: 1px solid $body-font-color; border-bottom: 1px solid $body-font-color;
margin-bottom: 30px; margin-bottom: 30px;
padding: 0 10px; padding: 0 10px 10px;
font-family: $heading-font-family;
div { div {
margin-left: 15px; margin-left: 15px;
@ -264,6 +267,7 @@ nav {
a { a {
padding: 0; padding: 0;
border: 0; border: 0;
font: inherit;
} }
.nav-link { .nav-link {
@ -278,7 +282,6 @@ nav {
.float-right { .float-right {
float: right; float: right;
margin-top: 16px;
} }
.float-left { .float-left {
@ -289,6 +292,7 @@ nav {
font-size: 1.5em; font-size: 1.5em;
margin: 0; margin: 0;
padding: 0; padding: 0;
font: inherit;
text-decoration: none; text-decoration: none;
a { a {
@ -301,15 +305,7 @@ nav {
footer { footer {
overflow: hidden; overflow: hidden;
> div { > div {
float: left; float: left;
} }
} }
.section-page-item {
>time {
color: gray;
font-size: 90%;
}
}

View file

@ -1,21 +0,0 @@
---
title: "Issues with Docker Swarm on ESXi"
description: "How to make Docker Swarm work with Nodes on ESXi"
publishdate: "2021-04-20"
---
I once tried to set up a Docker Swarm Cluster. I had three nodes, two on Proxmox hosts, and one on a ESXi 7 host. The nodes had a GlusterFS sdtorage attached to them which synced data to all three nodes so containers could be started on any node.
Everything worked wonderfully. Until I found out that some Containers couldn't talk to others.
Off to troubleshooting then. It seemed very sporadic, with communication working most of the time somehow. I tried some things, until I found out that it only happens if a container on the ESXi node tried to talk to others on the Proxmox nodes.
After _A LOT_ of googling and searching many a reddit thread I finally found out why:
It seems like ESXi, even when in standalone mode, silently drops packets on `udp/4789`, which apparently is VMWares `VTEP VXLAN Port for NSX-T`.
The fix for the Swarm cluster is to (re-)create the Swarm Cluster with `--data-path-port=xxxx`:
```
docker swarm init --data-path-port=(port that's not 4789)
```
Afterwards all communication works again 🎉

View file

@ -1,7 +0,0 @@
---
title: My Blog 🌸
description: "Lauras Blog"
---
I'll be posting about random stuff here :3 IT, Politics, Love...
## Latest posts

View file

@ -1,5 +0,0 @@
---
title: Projects
description: "Lauras Projects"
---
Here you can see all of my project documentations and ideas ✨

View file

@ -1,8 +1,6 @@
--- ---
title: "erisi: A self-hosted static site server" title: "erisi: A self-hosted static site server"
description: "Project outline page for erisi. erisi is planned to be a self-hosted alternative to Netlify/Vercel/Github Pages/etc... written in Go and utilizing Caddy and it's ACME capabilities." description: "Project outline page for erisi. erisi is planned to be a self-hosted alternative to Netlify/Vercel/Github Pages/etc. written in Go and utilizing Caddy and its ACME capabilities."
summary: Project outline page for erisi. erisi is planned to be a self-hosted alternative to Netlify/Vercel/Github Pages/etc... written in Go and utilizing Caddy and it's ACME capabilities.
publishdate: "2023-08-30"
--- ---
## Summary ## Summary

View file

@ -7,13 +7,10 @@ params:
menu: menu:
main: main:
- name: Blog
pageRef: /blog
weight: 1
- name: Portfolio - name: Portfolio
pageRef: /portfolio pageRef: /portfolio
weight: 2 weight: 2
- name: Projects - name: Interesting Stuff
pageRef: /projects pageRef: /interesting-stuff
weight: 3 weight: 3

View file

@ -0,0 +1,26 @@
{{ define "page" }}
<article class="container">
{{ if ne .Kind "home" }}
<a href="{{ .Site.Home.RelPermalink }}">Home</a>
{{ end }}
<h1>{{ .Title }}</h1>
{{ range .Sections }}
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<ul>
{{ range .Pages }}
<li>
<a href="{{ .RelPermalink }}">{{ or .Title .RelPermalink }}</a>
</li>
{{ end }}
</ul>
{{ end }}
<h2>Other</h2>
<ul>
{{ range .RegularPages }}
<li>
<a href="{{ .RelPermalink }}">{{ or .Title .RelPermalink }}</a>
</li>
{{ end }}
</ul>
</article>
{{ end }}

View file

@ -1,14 +0,0 @@
{{ define "page" }}
<content>
<h1>{{ .Title }}</h1>
<p>{{ .Content }}</p>
{{ range .Pages }}
<div class="section-page-item">
<h3>{{ .Title }}</h3>
<time>{{ .PublishDate | time.Format ":date_medium" }}</time>
<div class="summary">{{ .Summary }}</div>
<a href="{{ .RelPermalink }}">Read more &rarr;</a>
</div>
{{ end }}
</content>
{{ end }}

View file

@ -1,4 +1,3 @@
{{ $style := resources.Get "scss/style.scss" | toCSS | minify }} {{ $style := resources.Get "scss/style.scss" | toCSS | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link rel="preload" href="/fonts/open-sans-v35-latin-regular.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/fonts/open-sans-v35-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/kreon-v37-latin-regular.woff2" as="font" type="font/woff2" crossorigin>