docs(docker): improve NAS self-hosting compatibility (#1330)

* docs(docker): improve NAS self-hosting compatibility

Signed-off-by: Emil <emilmattsson14@gmail.com>

* docs(docker): retain optional resource controls

Signed-off-by: Emil <emilmattsson14@gmail.com>

* docs(docker): clarify compatibility prerequisites

---------

Signed-off-by: Emil <emilmattsson14@gmail.com>
This commit is contained in:
Mattsson
2026-08-01 18:54:46 +02:00
committed by GitHub
parent bfbd926950
commit 115147d304
5 changed files with 175 additions and 2 deletions
+4 -2
View File
@@ -26,8 +26,9 @@ services:
- /tmp
- /app/.next:uid=1001,gid=1001,mode=750,size=400m
- /app/public:uid=1001,gid=1001,mode=750,size=200m
# CPU limits are intentionally left to host tooling or a local override.
# Some Compose builds bundled with NAS platforms reject the `cpus` key.
mem_limit: 1g
cpus: 2
pids_limit: 200
restart: unless-stopped
healthcheck:
@@ -38,7 +39,8 @@ services:
interval: 30s
timeout: 5s
start_period: 30s
start_interval: 5s
# `start_interval` requires Docker Compose 2.20.2+ and Docker Engine 25.0+.
# Omitting it keeps the base file usable with older NAS container stacks.
retries: 3
logging:
driver: json-file