An open API service indexing awesome lists of open source software.

https://github.com/swooosh13/auth-service


https://github.com/swooosh13/auth-service

authorization jwt mongodb

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

## How to up mongodb with SCRAM (current SCRAM-SHA-1)
---

0. Previously create .dbdata/db dir for volume

2. build mongodb container

$ docker-compose up --build -d mongodb

3. login into mongo (into mongo container)

$ mongo -u mongoadm -p mongoadm

4. initialize user

$ > load("docker-entrypoint-initdb.d/init.js")