https://github.com/swooosh13/auth-service
https://github.com/swooosh13/auth-service
authorization jwt mongodb
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/swooosh13/auth-service
- Owner: swooosh13
- Created: 2022-03-31T11:45:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-06T10:52:47.000Z (about 4 years ago)
- Last Synced: 2024-06-20T17:53:53.989Z (about 2 years ago)
- Topics: authorization, jwt, mongodb
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")