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
*.vsix
.DS_Store

View file

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

View file

@ -7,13 +7,10 @@ params:
menu:
main:
- name: Blog
pageRef: /blog
weight: 1
- name: Portfolio
pageRef: /portfolio
weight: 2
- name: Projects
pageRef: /projects
- name: Interesting Stuff
pageRef: /interesting-stuff
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 }}
<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/kreon-v37-latin-regular.woff2" as="font" type="font/woff2" crossorigin>