docs: Update Portracker IDs to 1043:65538 in scripts and setup guides

This commit is contained in:
2026-02-22 14:41:12 -05:00
parent 459630c0c1
commit db67301d8d
3 changed files with 10 additions and 10 deletions

View File

@@ -9,7 +9,8 @@ Portracker is a real-time port monitoring and service discovery tool.
### Get User IDs
- [ ] **Manual**: SSH into your NAS and run `sudo synouser --get svc-portracker`.
- [ ] **Action**: Record the `User ID` (PUID) and `Group ID` (PGID) for use in Portainer.
- [ ] **Confirmed IDs**: `User ID` (PUID) is `1043`, `Group ID` (PGID) is `65538`.
- [ ] **Action**: Use these values in your Portainer stack environment.
## 2. Infrastructure Setup
### Run Setup Script
@@ -24,9 +25,9 @@ Portracker is a real-time port monitoring and service discovery tool.
## 3. Portainer Deployment
### Environment Variables
- [ ] **Action**: In the Portainer Stack configuration, add the following environment variables:
- `PUID=[Your UID]`
- `PGID=[Your GID]`
- `TZ=[Your Timezone, e.g., America/Toronto]`
- `PUID=1043`
- `PGID=65538`
- `TZ=America/Toronto` (Replace with your actual timezone)
### Deploy Stack
- [ ] **Action**: Create a new stack named `portracker`.

View File

@@ -6,9 +6,8 @@ BASE="/volume1/docker/portracker"
mkdir -p "${BASE}/data"
# Set ownership and permissions
# IMPORTANT: Replace 1024:100 with your actual PUID:PGID if necessary
# By default, we initialize it and you can adjust via Synology File Station if needed.
chown -R 1024:100 "${BASE}"
# Set ownership and permissions for svc-portracker (1043:65538)
chown -R 1043:65538 "${BASE}"
chmod -R 750 "${BASE}"
echo "Folders created and permissions set for ${BASE}"

View File

@@ -9,7 +9,7 @@ services:
- SYS_PTRACE
- SYS_ADMIN
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 4999 || exit 1"]
test: [ "CMD-SHELL", "nc -z 127.0.0.1 4999 || exit 1" ]
interval: 10s
timeout: 5s
retries: 3
@@ -20,7 +20,7 @@ services:
- /volume1/docker/portracker/data:/data:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PUID=${PUID:-1024}
- PGID=${PGID:-100}
- PUID=${PUID:-1043}
- PGID=${PGID:-65538}
- TZ=${TZ:-America/Toronto}
restart: on-failure:5