Skip to content

Commit 240fb2c

Browse files
committed
docs: Add read-only install instructions
Closes #429 thanks @drake7707
1 parent 4657df2 commit 240fb2c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docsite/docs/installation/installation.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,21 @@ To get the UID and GID for the current user run these commands from a terminal:
162162

163163
::::
164164

165+
#### Read Only
166+
167+
MS can be hardended by setting the file system as read only with [`read_only`](https://docs.docker.com/reference/compose-file/services/#read_only), with a few exceptions:
168+
169+
```yaml title="docker-compose.yml"
170+
services:
171+
multi-scrobbler:
172+
image: foxxmd/multi-scrobbler
173+
# ...
174+
read_only: true
175+
tmpfs:
176+
- /run:exec
177+
- /tmp:noexec
178+
```
179+
165180
### Docker Usage Example
166181

167182
:::tip

0 commit comments

Comments
 (0)