Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -59,7 +59,7 @@ Open Dockge and click `compose`
|
||||
|
||||
Name the stack `adguardhome` and paste the configuration below:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
adguardhome:
|
||||
@@ -83,7 +83,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the watchtower label to each container to automate updates
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
adguardhome:
|
||||
# ...
|
||||
@@ -114,7 +114,7 @@ Do not use Cloudflare tunnels to expose AdGuard, and make sure any proxying is d
|
||||
|
||||
In Dockge, go to the SWAG stack and edit the compose file to add the AdGuard network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -151,7 +151,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/adguard.subdomain.conf
|
||||
|
||||
Paste the configuration below:
|
||||
|
||||
```nginx
|
||||
```nginx [adguard.subdomain.conf]
|
||||
## Version 2023/05/31
|
||||
# make sure that your adguard container is named adguard
|
||||
# make sure that your dns has a cname set for adguard
|
||||
|
||||
@@ -31,7 +31,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `vaultwarden`, and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
vaultwarden:
|
||||
@@ -67,7 +67,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the Watchtower label in each container to automate updates
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
vaultwarden:
|
||||
#...
|
||||
@@ -87,7 +87,7 @@ Copy the result securely.
|
||||
|
||||
In the `.env` file, enter the following variables:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
URL=
|
||||
TOKEN=
|
||||
```
|
||||
@@ -115,7 +115,7 @@ The main benefit of Vaultwarden is being able to access it remotely from any dev
|
||||
|
||||
In Dockge, go to the SWAG stack and edit the compose file to add the Vaultwarden network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -151,7 +151,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/vault.subdomain.conf
|
||||
|
||||
And paste the following configuration:
|
||||
|
||||
```nginx
|
||||
```nginx [vault.subdomain.conf]
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
Reference in New Issue
Block a user