Name and icon code blocks by real filename across the site

This commit is contained in:
Djeex
2026-08-31 22:12:47 +02:00
parent baf3590186
commit 6696ed9b23
55 changed files with 277 additions and 252 deletions
@@ -37,7 +37,7 @@ root
Open Dockge, click on `compose`, name the stack `code-server`, and paste the following:
```yaml
```yaml [compose.yaml]
---
services:
code-server:
@@ -63,7 +63,7 @@ services:
::tip
✨ Add the Watchtower label to each container to automate updates
```yaml
```yaml [compose.yaml]
services:
code-server:
#...
@@ -87,7 +87,7 @@ id yourusername
Fill in the `.env` file with the values you found, for example:
```properties
```properties [.env]
PW='$argon2i$v=19$m=4096,t=3,p=1$wST5QhBgk2lu1ih4DMuxvg$LS1alrVdIWtvZHwnzCM1DUGg+5DTO3Dt1d5v9XtLws4'
PUID=1000
GUID=1000
@@ -108,7 +108,7 @@ __If it fails:__ check your firewall rules.
## Mount Folders
You can mount folders into VS Code by adding the relevant volumes in `compose.yaml` (or via Dockge), then redeploy the container.
```yaml
```yaml [compose.yaml]
services:
code-server:
#...
@@ -128,7 +128,7 @@ __Preliminary:__ We assume youve created a subdomain like `code.yourdomain.co
In Dockge, go to the SWAG stack and edit the compose file to add code-servers network:
```yaml
```yaml [compose.yaml]
services:
swag:
container_name: # ...
@@ -164,7 +164,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/code.subdomain.conf
Paste the following configuration:
```nginx
```nginx [code.subdomain.conf]
## Version 2023/12/19
server {