diff --git a/wiki/dns-diagram.png b/wiki/dns-diagram.png new file mode 100644 index 00000000..4658fc84 Binary files /dev/null and b/wiki/dns-diagram.png differ diff --git a/wiki/grafana.png b/wiki/grafana.png new file mode 100644 index 00000000..fcf812bc Binary files /dev/null and b/wiki/grafana.png differ diff --git a/wiki/home.md b/wiki/home.md new file mode 100644 index 00000000..69ba132e --- /dev/null +++ b/wiki/home.md @@ -0,0 +1,41 @@ +--- +title: Home +description: Main page for the wiki +published: true +date: 2021-07-20T22:33:28.856Z +tags: +editor: markdown +dateCreated: 2021-07-17T04:18:52.299Z +--- + +# Home + + +# Adding a Service to Traefik +Add the following snippets to the `docker-compose.yml` for a service to add it to the Traefik network. + +```yml +services: + : + networks: + - web + labels: + # set to the name of the service + # must be unique on the Traefik network + - traefik.http.routers..rule=Host(`.jafner.net`) + # this is required for TLS certificates + - traefik.http.routers..tls.certresolver=lets-encrypt + # this is only required if Traefik's default port selection fails + - traefik.http.services..loadbalancer.server.port= + # this is used to protect the service behind Authelia SSO + - traefik.http.routers..middlewares=authelia@file +networks: + web: + external: true +``` + +# Copying SSH Keys to New Host +From: [ssh.com](https://www.ssh.com/academy/ssh/copy-id) +1. Open Powershell on desktop, then `cd ~/.ssh/` +2. Run `ssh-copy-id -i @` to copy the file to the new host. +3. Add the new host to Terminus. \ No newline at end of file diff --git a/wiki/network/dns-diagram.md b/wiki/network/dns-diagram.md new file mode 100644 index 00000000..f4f19ad1 --- /dev/null +++ b/wiki/network/dns-diagram.md @@ -0,0 +1,12 @@ +--- +title: DNS Diagram +description: +published: true +date: 2021-07-17T19:48:09.692Z +tags: +editor: markdown +dateCreated: 2021-07-17T19:40:57.413Z +--- + +# DNS Resolution Diagram +![dns-diagram.png](/dns-diagram.png)