Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -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