From c8da4ead86b4e3e63f37db656c150b5c230c6ed6 Mon Sep 17 00:00:00 2001 From: DoTheEvo Date: Mon, 31 Oct 2022 08:54:58 +0100 Subject: [PATCH] update --- caddy_v2/readme.md | 6 +++--- minecraft/readme.md | 5 +++-- prometheus_grafana/readme.md | 22 ++++------------------ wireguard/readme.md | 2 ++ 4 files changed, 12 insertions(+), 23 deletions(-) diff --git a/caddy_v2/readme.md b/caddy_v2/readme.md index b4a1f2b..8c4794c 100644 --- a/caddy_v2/readme.md +++ b/caddy_v2/readme.md @@ -46,7 +46,7 @@ And **just works** means fully works. No additional configuration needed for https redirect, or special services if target is not a container, or need to deal with load balancer, or need to add boilerplate headers for x-forward, or other extra work.
-In short, it has great out of the box defaults, fitting majority of uses +It has great out of the box defaults, fitting majority of uses and only some special casess with extra functionality need extra work. ![url](https://i.imgur.com/iTjzPc0.png) @@ -239,8 +239,8 @@ networks: You are on your local network and you are likely running the docker host inside the same network.
If that's the case then shit will not work without editing the hosts file.
-Reason being that when you write that `a.{$MY_DOMAIN}` in to your browser, -you are asking google's DNS for `a.{$MY_DOMAIN}` IP address. +Reason being that when you write that `a.example.com` in to your browser, +you are asking google's DNS for `a.example.com` IP address. It will give you your own public IP, and most routers/firewalls wont allow this loopback, where your requests should go out and then right back. diff --git a/minecraft/readme.md b/minecraft/readme.md index 5a39a69..47d13b7 100644 --- a/minecraft/readme.md +++ b/minecraft/readme.md @@ -15,7 +15,8 @@ Minecraft is written in Java.
This setup is using [itzg](https://github.com/itzg/docker-minecraft-server) maintend docker image. Specificly [Purpur](https://purpurmc.org/docs/) version which is a fork of -[paper](https://www.spigotmc.org/wiki/what-is-spigot-craftbukkit-bukkit-vanilla-forg/). +[Paper](https://www.spigotmc.org/wiki/what-is-spigot-craftbukkit-bukkit-vanilla-forg/) + which is a fork of [Spigot](https://www.spigotmc.org/wiki/what-is-spigot-craftbukkit-bukkit-vanilla-forg/). Few plugings are used which allow to host multiple worlds on the same server.
Also [docker-rcon-web-admin](https://github.com/itzg/docker-rcon-web-admin) container is runnig to be able to do basic console tasks from web interface. @@ -164,7 +165,7 @@ Should they be able to bring stuff from one world to another? No?
Well you need `multiverse inventory`.
Should the connecting of worlds with their nether be easy?
Well you need `multiverse netherportals`.
-Should they spawn in lobby on connecting, +Should they spawn in lobby on start, but also remember the position in the worlds when entering portals?
Well you need the rest of that shit, `EssentialsX` and `EssentialsX Spawn`. diff --git a/prometheus_grafana/readme.md b/prometheus_grafana/readme.md index 64e8bac..3b3e711 100644 --- a/prometheus_grafana/readme.md +++ b/prometheus_grafana/readme.md @@ -127,8 +127,8 @@ services: volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml - ./prometheus_data:/prometheus - expose: - - 9090 + ports: + - 9090:9090 labels: org.label-schema.group: "monitoring" @@ -335,22 +335,8 @@ Caddy v2 is used, details [here](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/caddy_v2).
The setup is accessed through grafana. -But occasionally there might be need to check with prometheus, -which will be available on \:9090.
-For that to work, Caddy will also need port 9090 published. - -`Caddyfile` -``` -grafana.{$MY_DOMAIN} { - reverse_proxy grafana:3000 -} - -:9090 { - reverse_proxy prometheus:9090 -} -``` - -*Extra info:* `:9090` is short notation for `localhost:9090` +But occasionally there might be need to check with prometheus or pushgateway +which are available on \:9090.
--- diff --git a/wireguard/readme.md b/wireguard/readme.md index 5e6b3c0..079b6ad 100644 --- a/wireguard/readme.md +++ b/wireguard/readme.md @@ -26,6 +26,8 @@ This setup runs directly on the host machine, not in a container.
Most of the stuff here is based on Arch wiki and [this tutorial](https://securityespresso.org/tutorials/2019/03/22/vpn-server-using-wireguard-on-ubuntu/). +[This](https://github.com/mikeroyal/WireGuard-Guide) also seems rich in content. + # Files and directory structure ```