Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -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: # ...
|
||||
|
||||
Reference in New Issue
Block a user