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
@@ -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