change 'example' to 'config'.

This commit is contained in:
Your Name
2025-05-04 14:05:14 +12:00
parent 5286ec542a
commit 0bc78f353f
9 changed files with 23 additions and 73 deletions

View File

@ -17,7 +17,7 @@ SCRIPT_DIR="$(dirname "$0")"
# // |-- service.env
# // |-- template
# // |-- (script files)
# // |-- example
# // |-- config
# // |-- service.env
# // |-- (other config files for specific server&service)

View File

@ -1,7 +1,7 @@
# Service settings specific to this server
# (can also override anything in the _default.env file in the template to make it specific to this server)
HOST_PORT=60123
LOCAL_DATA_FOLDER="${HOME}/.example"
LOCAL_DATA_FOLDER="${HOME}/.example-nginx"
CONTAINER_NAME=example-nginx
IMAGE_TAG="latest"

View File

@ -13,8 +13,6 @@ if [ ! -d "${LOCAL_DATA_FOLDER}" ]; then
echo "Creating local data folder ${LOCAL_DATA_FOLDER}..."
mkdir -p "${LOCAL_DATA_FOLDER}"
chmod 777 "${LOCAL_DATA_FOLDER}"
# Optionally, copy default content if needed
# cp -r ./example/* "${LOCAL_DATA_FOLDER}/"
fi
echo "Checking Docker installation..."