This is a NodeJS REST-API for the datalakes project.
- Clone the repository
git clone https://github.com/eawag-surface-waters-research/datalakes-nodejs.git-
Set up ssh keys for https://gitlab.renkulab.io/
-
Create
.envfile from templateenv.example -
Create
config.jsonfile from templateconfig_example.json -
Run docker compose
docker compose up -d --buildYou can stop service with
docker compose downAs above but add production DB credentials to config.json
docker build -t datalakes .
docker run -v $(pwd)/data:/usr/src/app/data -v ~/.ssh:/root/.ssh -e AWS_ACCESS_KEY_ID=***** -e AWS_SECRET_ACCESS_KEY=***** -p 4000:4000 datalakes