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