13 lines
534 B
Bash
Executable File
13 lines
534 B
Bash
Executable File
#!/bin/bash
|
|
source ../.env
|
|
echo making folder for volume userfiles at $HOST_NEXTCLOUD_USERFILES
|
|
sudo mkdir -p $HOST_NEXTCLOUD_USERFILES
|
|
sudo chown -R nextcloud:docker $HOST_NEXTCLOUD_USERFILES
|
|
echo making folder for volume web app source files at $HOST_NEXTCLOUD_SRC
|
|
sudo mkdir -p $HOST_NEXTCLOUD_SRC
|
|
sudo chown -R nextcloud:docker $HOST_NEXTCLOUD_SRC
|
|
echo making folder for volume database at $HOST_NEXTCLOUD_DB
|
|
sudo mkdir -p $HOST_NEXTCLOUD_DB
|
|
sudo chown -R 999:docker $HOST_NEXTCLOUD_DB
|
|
ls -la $HOST_NEXTCLOUD_PARENT_DIR/nextcloud
|