diff --git a/contrib/docker/entrypoint.sh b/contrib/docker/entrypoint.sh index b9faf5e0..06abfb37 100755 --- a/contrib/docker/entrypoint.sh +++ b/contrib/docker/entrypoint.sh @@ -26,15 +26,7 @@ fi chown "${oduser}:${odgroup}" /onedrive/ /onedrive/conf # Default parameters -ARGS=(--monitor --confdir /onedrive/conf --syncdir /onedrive/data) - -#Make Verbose output optional, based on an environment variable -# default behaviour is verbose (to continue to behave as before) -if ! [ "${ONEDRIVE_VERBOSE:=1}" == "0" ]; then - echo "# We are being verbose" - echo "# set ONEDRIVE_VERBOSE environment to 0 (Zero) to be less chatty" - ARGS=(--verbose ${ARGS}) -fi +ARGS=(--monitor --verbose --confdir /onedrive/conf --syncdir /onedrive/data) if [ ${#} -gt 0 ]; then ARGS=("${@}") diff --git a/docs/Docker.md b/docs/Docker.md index c7a43400..aec9adf8 100644 --- a/docs/Docker.md +++ b/docs/Docker.md @@ -101,14 +101,6 @@ Or you can map your own config folder to config volume (copy stuffs from docker The detailed document for the config can be found here: [additional-configuration](https://github.com/abraunegg/onedrive#additional-configuration) -## Environment Variables - -| Variable | Purpose | Sample Value | -| ---------------- | --------------------------------------------------- |:-------------:| -| **ONEDRIVE_UID** | UserID (UID) to run as | 1000 | -| **ONEDRIVE_GID** | GroupID (GID) to run as | 1000 | -| **ONEDRIVE_VERBOSE** | Controls "verbose" switch on onedrive sync. Default (i.e. not set or non-zero value) behaviour is to continue to be verbose as before | 0 | - ## Run or update with one script If you are experienced with docker and onedrive, you can use the following script: