Skip to content

Commit 6bf8db4

Browse files
committed
Format nextcloud
1 parent d62fd94 commit 6bf8db4

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/Containers/optimizing-nextcloud.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ A step by step guide for setting up:
2020

2121
!!! warning ""
2222

23-
Replace all occurences of `domain.com` with your domain.
23+
Replace all occurences of `domain.com` where highlighted with your domain.
2424

2525
## SWAG
2626

2727
- Create a [Cloudflare](https://dash.cloudflare.com) account and set it as the nameserver for your domain.
2828
- Create DNS records for `domain.com` and `*.domain.com` with your home's WAN IP, disable the orange cloud.
2929
- Port forward `443` to your server on your home router.
3030
- Add SWAG to your docker compose and start it.
31-
```yaml
31+
```yaml hl_lines="10"
3232
swag:
3333
image: lscr.io/linuxserver/swag:latest
3434
container_name: swag
@@ -102,7 +102,7 @@ A step by step guide for setting up:
102102

103103
- Select recommended apps to install.
104104
- Run the following commands.
105-
```bash
105+
```bash hl_lines="5"
106106
docker exec nextcloud occ app:disable richdocumentscode
107107
docker exec nextcloud occ maintenance:repair --include-expensive
108108
docker exec nextcloud occ db:add-missing-indices
@@ -136,7 +136,7 @@ A step by step guide for setting up:
136136
## Collabora
137137

138138
- Add Collabora to your docker compose and start it.
139-
```yaml
139+
```yaml hl_lines="6 8 9"
140140
collabora:
141141
image: collabora/code
142142
container_name: collabora
@@ -179,7 +179,7 @@ A step by step guide for setting up:
179179
}
180180
```
181181
- Run the following commands.
182-
```bash
182+
```bash hl_lines="2"
183183
docker exec nextcloud occ app:enable richdocuments
184184
docker exec nextcloud occ config:app:set richdocuments wopi_url --value https://nextcloud.domain.com
185185
docker exec nextcloud occ config:app:set richdocuments wopi_allowlist --value=0.0.0.0/0
@@ -202,7 +202,7 @@ A step by step guide for setting up:
202202
openssl rand -hex 32
203203
```
204204
- Add the High Performance Backend to your docker compose and start it.
205-
```yaml
205+
```yaml hl_lines="9 10"
206206
talk:
207207
image: nextcloud/aio-talk:latest
208208
container_name: talk
@@ -241,7 +241,7 @@ A step by step guide for setting up:
241241
```
242242

243243
- Run the following commands using the secrets generated earlier.
244-
```bash
244+
```bash hl_lines="1 2 3"
245245
docker exec nextcloud occ talk:signaling:add --verify https://talk.domain.com SIGNALING_SECRET
246246
docker exec nextcloud occ talk:stun:add talk.domain.com:3478
247247
docker exec nextcloud occ talk:turn:add --secret TURN_SECRET turn talk.domain.com:3478 udp,tcp
@@ -255,7 +255,7 @@ A step by step guide for setting up:
255255
openssl rand -hex 32
256256
```
257257
- Add Whiteboard to your docker compose and start it.
258-
```yaml
258+
```yaml hl_lines="5"
259259
whiteboard:
260260
image: ghcr.io/nextcloud-releases/whiteboard:release
261261
container_name: whiteboard
@@ -286,7 +286,7 @@ A step by step guide for setting up:
286286
}
287287
```
288288
- Run the following commands.
289-
```bash
289+
```bash hl_lines="2"
290290
docker exec nextcloud occ app:enable whiteboard
291291
docker exec nextcloud occ config:app:set whiteboard collabBackendUrl --value="https://whiteboard.domain.com"
292292
docker exec nextcloud occ config:app:set whiteboard jwt_secret_key --value="secret"
@@ -331,7 +331,7 @@ A step by step guide for setting up:
331331
}
332332
```
333333
- Run the following commands.
334-
```bash
334+
```bash hl_lines="2"
335335
docker exec nextcloud occ app:enable drawio
336336
docker exec nextcloud occ config:app:set drawio DrawioUrl --value="https://nextcloud.domain.com/draw"
337337
```

0 commit comments

Comments
 (0)