Name and icon code blocks by real filename across the site

This commit is contained in:
Djeex
2026-08-31 22:12:47 +02:00
parent baf3590186
commit 6696ed9b23
55 changed files with 277 additions and 252 deletions
@@ -76,7 +76,7 @@ Open Dockge, click **Compose**, and name the stack `wg_easy`.
Copy the following configuration:
```yaml
```yaml [compose.yaml]
---
services:
wg-easy:
@@ -128,7 +128,7 @@ networks:
- You can customize WireGuard and web UI ports.
- Add a Watchtower label for automatic updates:
```yaml
```yaml [compose.yaml]
services:
wg-easy:
# ...
@@ -209,7 +209,7 @@ sudo cp ~/wg0.conf /docker/wireguard/config/wg_confs
Create the `compose.yaml` file in `/docker/wireguard`:
```yaml
```yaml [compose.yaml]
services:
wireguard:
image: lscr.io/linuxserver/wireguard:latest
@@ -75,7 +75,7 @@ To generate the keys, we created the folders ahead of deployment using Dockge. D
Open Dockge and search for "authentik" in the inactive stacks.
Name the stack `authentik` and paste the following configuration, replacing `{AUTHENTIK_TAG:-2026.2}`{lang=properties} with [the latest version of Authentik](https://goauthentik.io/docs/releases).
```yaml
```yaml [compose.yaml]
---
services:
@@ -221,7 +221,7 @@ sudo nano /docker/swag/config/nginx/authentik-server.conf
Verify that the following variables are set correctly:
```nginx
```nginx [authentik-server.conf]
set $upstream_authentik authentik-server;
proxy_pass http://$upstream_authentik:9000;
```
@@ -236,7 +236,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/auth.subdomain.conf
Paste the following configuration:
```nginx
```nginx [auth.subdomain.conf]
## Version 2023/05/31
# Ensure your authentik container is named authentik-server
# Ensure your DNS has a CNAME for authentik
@@ -275,7 +275,7 @@ Save with :kbd{value="Ctrl+O"}, then :kbd{value="Enter"}, and exit with :kbd{val
Go to Dockge, and edit the SWAG compose file to add the Authentik network:
```yaml
```yaml [compose.yaml]
services:
swag:
container_name: # ...
@@ -441,7 +441,7 @@ sudo nano /docker/authentik-outpost/compose.yaml
```
Paste the following configuration, updating the version in `{AUTHENTIK_TAG:proxy:2024.2.3}`{lang=properties} to match your Authentik server version.
```yaml
```yaml [compose.yaml]
version: "3.5"
services:
authentik_proxy:
@@ -469,7 +469,7 @@ Go to the SWAG stack on the remote machine (or edit directly using Dockge) and a
sudo nano /docker/swag/compose.yaml
```
```yaml
```yaml [compose.yaml]
services:
swag:
container_name: #...
@@ -511,7 +511,7 @@ sudo nano /docker/authentik-outpost/.env
Paste the following configuration:
```properties
```properties [.env]
HOST=
TOKEN=
```
@@ -546,7 +546,7 @@ sudo nano /docker/swag/config/nginx/authentik-server.conf
In the file, change `authentik-server` to `authentik-outpost` as shown:
```nginx
```nginx [authentik-server.conf]
set $upstream_authentik authentik-outpost;
proxy_pass http://$upstream_authentik:9000;
```
@@ -99,7 +99,7 @@ sudo nano /docker/swag/config/tunnelconfig.yml
Paste:
```yaml
```yaml [tunnelconfig.yml]
ingress:
- hostname: mondomaine.fr
@@ -125,7 +125,7 @@ sudo nano /docker/swag/config/nginx/nginx.conf
Add the following at the end of the `http` section:
```nginx
```nginx [nginx.conf]
real_ip_header X-Forwarded-For;
real_ip_recursive on;
include /config/nginx/cf_real-ip.conf;
@@ -138,7 +138,7 @@ Save with :kbd{value="Ctrl+O"}, then :kbd{value="Enter"}, and exit with :kbd{val
In Dockge, edit your SWAG stack with this:
```yaml
```yaml [compose.yaml]
---
services:
swag:
@@ -183,7 +183,7 @@ services:
::tip{icon=""}
✨ __Tip:__ Add a Watchtower label to automate updates:
```yaml
```yaml [compose.yaml]
labels:
- com.centurylinklabs.watchtower.enable=true
@@ -192,7 +192,7 @@ labels:
Fill in your `.env` file:
```properties
```properties [.env]
PUID=
PGID=
DOMAIN=