Cosmos Docker image can be found here
docker run -e MONGODB_HOST=mongodb:https://127.0.0.1:27017/cosmos -p 8000:8000 docker.pkg.github.com/odpf/cosmos/cosmos
Visit https://localhost:8000/documentation to view API documentation.
PORT (optional, default: 8000)
MONGODB_HOST (required)
ENCRYPTION_SECRET_KEY (default: "")
CUBE_URL (default: "https://localhost:4000" )
-
Clone the repo
$ git clone https://github.com/odpf/cosmos $ cd cosmos
-
Install dependencies
$ npm install
-
Run development server
$ npm run dev
-
Build production server
$ npm build
-
Run production server locally
$ npm start
All of the tests are written with jest. They can be run with npm/yarn.
$ npm test
We use SemVer for versioning. For the versions available, see the tags.
Cosmos is released under the Apache License 2.0. See LICENSE