feat: Add Portracker service with Synology setup guides and scripts
This commit is contained in:
14
portracker/create_portracker_folders.sh
Normal file
14
portracker/create_portracker_folders.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Define base path
|
||||
BASE="/volume1/docker/portracker"
|
||||
|
||||
# Create folders
|
||||
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}"
|
||||
chmod -R 750 "${BASE}"
|
||||
|
||||
echo "Folders created and permissions set for ${BASE}"
|
||||
Reference in New Issue
Block a user