From b47325d06a723a13d65a8778e4df8f97ebde4bbd Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sat, 6 Dec 2025 11:58:36 +1100 Subject: [PATCH] DOCS: SYNOLOGY permissions guide #1310 Signed-off-by: jokob-sk --- docs/SYNOLOGY_GUIDE.md | 62 +++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/SYNOLOGY_GUIDE.md b/docs/SYNOLOGY_GUIDE.md index e2983e29..7c978e9d 100755 --- a/docs/SYNOLOGY_GUIDE.md +++ b/docs/SYNOLOGY_GUIDE.md @@ -32,42 +32,42 @@ The folders you are creating below will contain the configuration and the databa - Paste in the following template: - ```yaml - services: - netalertx: - container_name: netalertx - # use the below line if you want to test the latest dev image - # image: "ghcr.io/jokob-sk/netalertx-dev:latest" - image: "ghcr.io/jokob-sk/netalertx:latest" - network_mode: "host" - restart: unless-stopped - cap_drop: # Drop all capabilities for enhanced security - - ALL - cap_add: # Re-add necessary capabilities - - NET_RAW - - NET_ADMIN - - NET_BIND_SERVICE - volumes: - - /app_storage/netalertx:/data - # to sync with system time - - /etc/localtime:/etc/localtime:ro - tmpfs: - # All writable runtime state resides under /tmp; comment out to persist logs between restarts - - "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime" - environment: - - PORT=20211 - ``` +```yaml +services: + netalertx: + container_name: netalertx + # use the below line if you want to test the latest dev image + # image: "ghcr.io/jokob-sk/netalertx-dev:latest" + image: "ghcr.io/jokob-sk/netalertx:latest" + network_mode: "host" + restart: unless-stopped + cap_drop: # Drop all capabilities for enhanced security + - ALL + cap_add: # Re-add necessary capabilities + - NET_RAW + - NET_ADMIN + - NET_BIND_SERVICE + volumes: + - /app_storage/netalertx:/data + # to sync with system time + - /etc/localtime:/etc/localtime:ro + tmpfs: + # All writable runtime state resides under /tmp; comment out to persist logs between restarts + - "/tmp:uid=20211,gid=20211,mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime" + environment: + - PORT=20211 +``` ![Project settings](./img/SYNOLOGY/07_Create_project.png) -3. Replace the paths to your volume and comment out unnecessary line(s): +3. Replace the paths to your volume and comment out unnecessary line(s). - - This is only an example, your paths will differ. +> This is only an example, your paths will differ. - ```yaml - volumes: - - /volume1/app_storage/netalertx:/data - ``` +```yaml +volumes: + - /volume1/app_storage/netalertx:/data +``` ![Adjusting docker-compose](./img/SYNOLOGY/08_Adjust_docker_compose_volumes.png)