aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2019-12-03 23:18:14 +0200
committerAlex <alexta69@gmail.com>2019-12-03 23:18:14 +0200
commita524f1faf38c128eb8dabdfeef1fbcdc23ae223d (patch)
treeaadef959c5a7483583256625fd35140505e06679 /README.md
parentadd "completed" panel (diff)
downloadmetube-a524f1faf38c128eb8dabdfeef1fbcdc23ae223d.tar.gz
metube-a524f1faf38c128eb8dabdfeef1fbcdc23ae223d.tar.bz2
metube-a524f1faf38c128eb8dabdfeef1fbcdc23ae223d.zip
add configurable URL prefix
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8e5f3ed..4776304 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,13 @@ services:
- /path/to/downloads:/downloads
```
+## Configuration via environment variables
+
+Certain values can be set via environment variables, using the `-e` parameter on the docker command line, or the `environment:` section in docker-compose.
+
+* __DOWNLOAD_DIR__: path to where the downloads will be saved. Defaults to "/downloads" in the docker image, and "." otherwise.
+* __URL_PREFIX__: base path for the web server (for use when hosting behind a reverse proxy). Defaults to "/".
+
## Build and run locally
Make sure you have node.js installed.
bgstack15