Bucket is an API for your content. It lets you store your data in "buckets" and query them with GraphQL.
Run npm install
and create a .env
file with at least this content:
Name | Values | Default |
---|---|---|
ENV | dev or prod |
dev |
MONGODB_HOST | bucket-mongodb |
bucket-mongodb |
API_PORT | 3000 | 3000 |
JWT_SECRET | secret |
secret |
after that you can start the development environment with:
npm run docker:dev:up
To run bucket in production with docker run:
npm run docker:prod:up