From 01f9a5521060d68dde7726bca48ef1abf3e217ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 22 Jan 2019 12:53:01 +0100 Subject: [PATCH] Update to the latest changes on the backend for reference: https://github.com/Human-Connection/Nitro-Backend/pull/127 --- backend/data-import.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/data-import.md b/backend/data-import.md index fe466baad..d08b89129 100644 --- a/backend/data-import.md +++ b/backend/data-import.md @@ -14,12 +14,13 @@ Furthermore you need SSH access to the server and you need to know the following | MONGODB_PASSWORD | Mongo password on the server | | MONGODB_AUTH_DB | Mongo authentication database | | MONGODB_DATABASE | The name of the mongo database | +| UPLOADS_DIRECTORY | Path to remote uploads folder | ### Run the database migration Run `docker-compose` with all environment variables specified: ```sh -SSH_USERNAME=username SSH_HOST=some.server.com MONGODB_USERNAME='hc-api' MONGODB_PASSWORD='secret' MONGODB_DATABASE=hc_api MONGODB_AUTH_DB=hc_api docker-compose up +SSH_USERNAME=username SSH_HOST=some.server.com MONGODB_USERNAME='hc-api' MONGODB_PASSWORD='secret' MONGODB_DATABASE=hc_api MONGODB_AUTH_DB=hc_api UPLOADS_DIRECTORY=/var/www/api/uploads docker-compose up ``` Download the remote mongo database: