mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update to the latest changes on the backend
for reference: https://github.com/Human-Connection/Nitro-Backend/pull/127
This commit is contained in:
parent
c42c3b716e
commit
01f9a55210
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user