feat(auth): implement authentication endpoints and JWT handling
This commit is contained in:
+7
-2
@@ -1,5 +1,10 @@
|
||||
API_PORT=3671
|
||||
MONGO_INITDB_ROOT_PASSWORD=pass
|
||||
MONGODB_URL=mongodb://theplug:pass@mongodb:27017/theplug?authSource=admin
|
||||
MONGODB_URI=mongodb://theplug:pass@mongodb:27017/theplug?authSource=admin
|
||||
MONGODB_DB_NAME=theplug
|
||||
REDIS_URL=redis://redis:6379
|
||||
REDIS_URL=redis://redis:6379
|
||||
JWT_SECRET_KEY=change-this-secret
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_EXPIRE_MINUTES=30
|
||||
AUTH_USERNAME=admin
|
||||
AUTH_PASSWORD=change-this-password
|
||||
Reference in New Issue
Block a user