docs: Update Portracker IDs to 1043:65538 in scripts and setup guides
This commit is contained in:
@@ -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`.
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user