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
+6 -6
View File
@@ -35,7 +35,7 @@ root
Open Dockge, click on `compose`, name the stack `nextcloud` and paste the following:
```yaml
```yaml [compose.yaml]
---
services:
nextcloud:
@@ -69,7 +69,7 @@ id username
Then fill out the `.env` file with your preferred port and the values found above, for example:
```properties
```properties [.env]
PUID=1000
GUID=1000
PORT=4545
@@ -92,7 +92,7 @@ We assume you have a subdomain `nextcloud.yourdomain.com` with a `CNAME` pointin
In Dockge, go to your SWAG stack and edit the compose to add Nextcloud's network:
```yaml
```yaml [compose.yaml]
services:
swag:
container_name: # ...
@@ -128,7 +128,7 @@ sudo nano /docker/nextcloud/config/www/nextcloud/config/config.php
Paste the following before the final `);`:
```php
```php [config.php]
'trusted_proxies' => [gethostbyname('swag')],
'overwrite.cli.url' => 'https://nextcloud.example.com/',
'overwritehost' => 'nextcloud.example.com',
@@ -137,7 +137,7 @@ Paste the following before the final `);`:
Also add your domain in the `array` section. It should look like this:
```php
```php [config.php]
array (
0 => '192.168.0.1:444', # This line may differ—dont change it!
1 => 'nextcloud.yourdomain.com', # Add your domain here
@@ -154,7 +154,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/nextcloud.subdomain.conf
Paste the following:
```nginx
```nginx [nextcloud.subdomain.conf]
## Version 2024/04/25
server {
listen 443 ssl;