diff --git a/filed/.env.example b/filed/.env.example index f73347c..0f1a01c 100644 --- a/filed/.env.example +++ b/filed/.env.example @@ -1,4 +1,9 @@ APP_LOGGING=true APP_HOST=0.0.0.0:80 -REDIS_PASS=bfile \ No newline at end of file +REDIS_PASS=bfile +REDIS_HOST=redis +REDIS_PORT=6379 +REDIS_PREFIX=bfile- + +USERCONTENT_DIR=/opt/user_uploads \ No newline at end of file diff --git a/filed/README.md b/filed/README.md index 37747dd..f0a5a86 100644 --- a/filed/README.md +++ b/filed/README.md @@ -8,4 +8,4 @@ To get started with this, copy either `Dockerfile.dev` or `Dockerfile.prod` to ` Then either build it manually or start it up using the `docker-compose.yml` file, which is provided in the top level directory. ## Deploying notes -Files will be saved in `/opt/useruploads`. Mount that directory into a volume or host directory to easily back up the data. +Files will be saved in `/opt/user_uploads` (as defined in `.env`). Mount that directory into a volume or host directory to easily back up the data.