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
|
### Get User IDs
|
||||||
- [ ] **Manual**: SSH into your NAS and run `sudo synouser --get svc-portracker`.
|
- [ ] **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
|
## 2. Infrastructure Setup
|
||||||
### Run Setup Script
|
### Run Setup Script
|
||||||
@@ -24,9 +25,9 @@ Portracker is a real-time port monitoring and service discovery tool.
|
|||||||
## 3. Portainer Deployment
|
## 3. Portainer Deployment
|
||||||
### Environment Variables
|
### Environment Variables
|
||||||
- [ ] **Action**: In the Portainer Stack configuration, add the following environment variables:
|
- [ ] **Action**: In the Portainer Stack configuration, add the following environment variables:
|
||||||
- `PUID=[Your UID]`
|
- `PUID=1043`
|
||||||
- `PGID=[Your GID]`
|
- `PGID=65538`
|
||||||
- `TZ=[Your Timezone, e.g., America/Toronto]`
|
- `TZ=America/Toronto` (Replace with your actual timezone)
|
||||||
|
|
||||||
### Deploy Stack
|
### Deploy Stack
|
||||||
- [ ] **Action**: Create a new stack named `portracker`.
|
- [ ] **Action**: Create a new stack named `portracker`.
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ BASE="/volume1/docker/portracker"
|
|||||||
mkdir -p "${BASE}/data"
|
mkdir -p "${BASE}/data"
|
||||||
|
|
||||||
# Set ownership and permissions
|
# Set ownership and permissions
|
||||||
# IMPORTANT: Replace 1024:100 with your actual PUID:PGID if necessary
|
# Set ownership and permissions for svc-portracker (1043:65538)
|
||||||
# By default, we initialize it and you can adjust via Synology File Station if needed.
|
chown -R 1043:65538 "${BASE}"
|
||||||
chown -R 1024:100 "${BASE}"
|
|
||||||
chmod -R 750 "${BASE}"
|
chmod -R 750 "${BASE}"
|
||||||
|
|
||||||
echo "Folders created and permissions set for ${BASE}"
|
echo "Folders created and permissions set for ${BASE}"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
- /volume1/docker/portracker/data:/data:rw
|
- /volume1/docker/portracker/data:/data:rw
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID:-1024}
|
- PUID=${PUID:-1043}
|
||||||
- PGID=${PGID:-100}
|
- PGID=${PGID:-65538}
|
||||||
- TZ=${TZ:-America/Toronto}
|
- TZ=${TZ:-America/Toronto}
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
|
|||||||
Reference in New Issue
Block a user