Updating nextcloud stack installation (#104)
This commit is contained in:
committed by
GitHub
parent
2321f4c017
commit
82e37855b3
@@ -10,6 +10,7 @@ services:
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- /portainer/Files/AppData/Config/Nextcloud/Config:/config
|
||||
- /portainer/Files/AppData/Config/Nextcloud/Data:/data
|
||||
ports:
|
||||
- ${PORT}:443
|
||||
restart: unless-stopped
|
||||
|
||||
0
tools/install_flatnotes.sh
Normal file → Executable file
0
tools/install_flatnotes.sh
Normal file → Executable file
12
tools/install_nextcloud.sh
Executable file
12
tools/install_nextcloud.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Creating directory..."
|
||||
sudo mkdir -p /portainer/Files/AppData/Config/Nextcloud/Config || error "Failed to create Config folder!"
|
||||
sudo mkdir -p /portainer/Files/AppData/Config/Nextcloud/Data || error "Failed to Data folder!"
|
||||
sudo chown -R 1000.1000 /portainer/Files/AppData/Config/Nextcloud || error "Failed set permission Nextloud folder!"
|
||||
echo "Setup complete. You can now install Nextcloud using the App Template. This script specified for Nextcloud stack"
|
||||
Reference in New Issue
Block a user