Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -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 you’ve created a subdomain like `code.yourdomain.co
|
||||
|
||||
In Dockge, go to the SWAG stack and edit the compose file to add code-server’s 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 {
|
||||
|
||||
@@ -30,7 +30,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `gitea`, and paste the following content:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
networks:
|
||||
gitea:
|
||||
@@ -59,7 +59,7 @@ services:
|
||||
|
||||
Fill out the `.env` file with the required information, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
UID=1000
|
||||
GID=1000
|
||||
```
|
||||
@@ -81,7 +81,7 @@ __Prerequisite:__ We assume you have created a subdomain such as `gitea.yourdoma
|
||||
|
||||
In Dockge, go to the SWAG stack and edit the compose file by adding Gitea's network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -116,7 +116,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/gitea.subdomain.conf
|
||||
```
|
||||
Paste the configuration below:
|
||||
|
||||
```nginx
|
||||
```nginx [gitea.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
@@ -183,7 +183,7 @@ sudo nano /docker/gitea/data/gitea/conf/app.ini
|
||||
|
||||
Then modify the server section with your domain information:
|
||||
|
||||
```properties
|
||||
```properties [app.ini]
|
||||
[server]
|
||||
DOMAIN = gitea.yourdomain.com
|
||||
SSH_DOMAIN = gitea.yourdomain.com
|
||||
|
||||
@@ -22,7 +22,7 @@ description: Install IT Tools, a self-hosted collection of handy utilities for d
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `it-tools`, and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
it-tools:
|
||||
@@ -37,7 +37,7 @@ services:
|
||||
::tip{icon=""}
|
||||
✨ __Tip:__ Add the Watchtower label to each container to enable automatic updates.
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
it-tools:
|
||||
#...
|
||||
@@ -64,7 +64,7 @@ __Pre-requisite:__ We assume you’ve created a subdomain like `tools.yourdomain
|
||||
|
||||
In Dockge, go to the SWAG stack and edit the compose file to add the IT Tools network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -105,7 +105,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/tools.subdomain.conf
|
||||
|
||||
Paste the configuration below:
|
||||
|
||||
```nginx
|
||||
```nginx [tools.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user