fix: hard coded values related to synology
This commit is contained in:
parent
e60c52034f
commit
6edd9c91a9
2 changed files with 7 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ This guide deploys Technitium DNS and Dockhand using:
|
|||
Compatibility note:
|
||||
- Dockhand image in this stack is `fnsys/dockhand:latest` and should be run on 64-bit Linux (`arm64` on Pi 4).
|
||||
- 2GB RAM Pi 4 is supported with the included memory caps in the compose template.
|
||||
- This template hardcodes `PUID=1000`, `PGID=1000`, `max-file=3`, and `max-size=10m` for Pi-local use.
|
||||
|
||||
## 1) Prepare env values
|
||||
Update your `.env` with these required values:
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@ services:
|
|||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-file: "{{DOCKERLOGGING_MAXFILE}}"
|
||||
max-size: "{{DOCKERLOGGING_MAXSIZE}}"
|
||||
max-file: "3"
|
||||
max-size: "10m"
|
||||
|
||||
dockhand:
|
||||
image: fnsys/dockhand:latest
|
||||
|
|
@ -63,8 +63,8 @@ services:
|
|||
ENCRYPTION_KEY: "{{DOCKHAND_ENCRYPTION_KEY}}"
|
||||
PORT: "3000"
|
||||
DATA_DIR: "/opt/dockhand"
|
||||
PUID: "{{PUID}}"
|
||||
PGID: "{{PGID}}"
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
group_add:
|
||||
- "{{DOCKER_GID:-999}}"
|
||||
volumes:
|
||||
|
|
@ -82,5 +82,5 @@ services:
|
|||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-file: "{{DOCKERLOGGING_MAXFILE}}"
|
||||
max-size: "{{DOCKERLOGGING_MAXSIZE}}"
|
||||
max-file: "3"
|
||||
max-size: "10m"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue