feat: Add new Portainer stacks, setup scripts, and configurations for various services including filebrowser, paperless, and firefly.
This commit is contained in:
18
filebrowser/create_filebrowser_folders.sh
Normal file
18
filebrowser/create_filebrowser_folders.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
# Define base path
|
||||
BASE="/volume1/docker/filebrowser"
|
||||
|
||||
# Create folders
|
||||
mkdir -p "${BASE}/config" "${BASE}/database" "${BASE}/data"
|
||||
|
||||
# Set ownership and permissions
|
||||
chown -R 1042:65538 "${BASE}"
|
||||
chmod -R 750 "${BASE}"
|
||||
|
||||
touch "${BASE}/config/settings.json"
|
||||
chown 1042:65538 "${BASE}/config/settings.json"
|
||||
chmod 640 "${BASE}/config/settings.json"
|
||||
|
||||
|
||||
touch "${BASE}/database/filebroser.db"
|
||||
chown 1042:65538 "${BASE}/database/filebroser.db"
|
||||
chmod 640 "${BASE}/database/filebroser.db"
|
||||
Reference in New Issue
Block a user