Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -32,7 +32,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `uptime-kuma`, then copy and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
uptime-kuma:
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the Watchtower label to each container to automate updates
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
uptime-kuma:
|
||||
#...
|
||||
@@ -90,7 +90,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/stats.subdomain.conf
|
||||
```
|
||||
Paste the following config:
|
||||
|
||||
```nginx
|
||||
```nginx [stats.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
@@ -145,7 +145,7 @@ Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ct
|
||||
|
||||
In Dockge, edit the SWAG compose and add the Uptime-Kuma network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
|
||||
@@ -30,7 +30,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `dozzle`, then copy and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
dozzle:
|
||||
@@ -53,7 +53,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the watchtower label to each container to automate updates
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
dozzle:
|
||||
#...
|
||||
@@ -65,7 +65,7 @@ services:
|
||||
|
||||
Fill in your domain name in the `.env` file, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
DOMAIN=dozzle.mydomain.com
|
||||
```
|
||||
|
||||
@@ -88,7 +88,7 @@ We assume you have created a subdomain like `dozzle.mydomain.com` in your [DNS z
|
||||
|
||||
Go to Dockge and edit the SWAG compose file to add Dozzle’s network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -123,7 +123,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/dozzle.subdomain.conf
|
||||
```
|
||||
Paste the configuration below:
|
||||
|
||||
```nginx
|
||||
```nginx [dozzle.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
|
||||
@@ -44,7 +44,7 @@ Take note of the key.
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `speedtest-tracker`, then paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
speedtest-tracker:
|
||||
@@ -75,7 +75,7 @@ id yourusername
|
||||
|
||||
In the `.env` file, set the variable `API_KEY` with the key you generated and add a cron-style test schedule, as well as your `PUID` and `GUID`, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
SCHEDULE=15 */6 * * * # every 6 hours
|
||||
API_KEY=base64:zihejehkj8_nzhY/OjeieR= # your key
|
||||
PUID=1000
|
||||
@@ -110,7 +110,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/speedtest.subdomain.conf
|
||||
|
||||
Configure it like this:
|
||||
|
||||
```nginx
|
||||
```nginx [speedtest.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
@@ -162,7 +162,7 @@ By default, SWAG doesn’t know the name "speedtest-tracker". To allow access, y
|
||||
|
||||
Go to Dockge, and edit SWAG’s compose to include Speedtest Tracker’s network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
|
||||
@@ -36,7 +36,7 @@ root
|
||||
|
||||
Open Dockge, click `compose`, name the stack `beszel`, and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
beszel:
|
||||
@@ -69,7 +69,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the Watchtower label to each container to automate updates.
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
beszel:
|
||||
#...
|
||||
@@ -81,7 +81,7 @@ services:
|
||||
|
||||
Fill out the `.env` file, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
PORT=8090 # web UI port
|
||||
KEY= # private key to retrieve from Beszel when adding a system
|
||||
```
|
||||
@@ -115,7 +115,7 @@ You can also monitor a remote server. To do so, run the agent on the remote serv
|
||||
|
||||
Beszel will suggest a `compose.yaml` to deploy on the remote server, or you can use:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
beszel-agent:
|
||||
@@ -133,7 +133,7 @@ services:
|
||||
|
||||
And in `.env`:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
PORT=45876 # communication port between hub and remote agent
|
||||
KEY= # private key from Beszel when adding the system
|
||||
```
|
||||
@@ -162,7 +162,7 @@ You must have created a DNS subdomain like `beszel.mydomain.com` with a `CNAME`
|
||||
|
||||
In Dockge, edit Swag's compose file and add Beszel’s network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -198,7 +198,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/beszel.subdomain.conf
|
||||
|
||||
Paste:
|
||||
|
||||
```nginx
|
||||
```nginx [beszel.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
|
||||
@@ -31,7 +31,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `upsnap`, then copy and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
upsnap:
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the watchtower label to each container to automate updates
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
upsnap:
|
||||
#...
|
||||
@@ -72,7 +72,7 @@ services:
|
||||
|
||||
Fill in the `.env`, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
RANGE=192.168.1.0/24 # scans all devices on the local network with an IP between 192.168.0.1 and 192.168.1.255
|
||||
DNS=192.168.1.1 # DNS IP to resolve domain names, typically your router’s IP
|
||||
```
|
||||
@@ -101,7 +101,7 @@ We assume you've created a subdomain in your [DNS zone](/general/networking/dns)
|
||||
|
||||
Go to Dockge, and edit the SWAG compose by adding the UpSnap network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -136,7 +136,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/upsnap.subdomain.conf
|
||||
```
|
||||
And paste the following configuration:
|
||||
|
||||
```nginx
|
||||
```nginx [upsnap.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user