Compare commits
2 Commits
9edbcc0bc2
...
4d813c6c2c
| Author | SHA1 | Date | |
|---|---|---|---|
|
4d813c6c2c
|
|||
|
9b0b9baf16
|
@@ -175,6 +175,8 @@ steps:
|
||||
path: /var/run/docker.sock
|
||||
- name: dockerconfig
|
||||
path: /drone/auth/.docker/config.json
|
||||
- name: mongo-init
|
||||
path: /docker-entrypoint-initdb.d/mongo-init.js
|
||||
- name: Send Status Notifications
|
||||
image: plugins/webhook
|
||||
privileged: true
|
||||
@@ -202,6 +204,8 @@ volumes:
|
||||
- name: env-secrets
|
||||
host:
|
||||
path: /volume1/docker/beethoven/labs-auth/staging.env
|
||||
- name: mongo-init
|
||||
path: /drone/auth/mongo-init.js
|
||||
|
||||
depends_on:
|
||||
- Test Pipeline
|
||||
|
||||
@@ -9,7 +9,8 @@ import passport from '../passport';
|
||||
import { ErrorCodes, getErrorBody } from '../../constants/errors';
|
||||
import { authenticated } from '../middleware/authenication';
|
||||
|
||||
const routerOpts: Router.IRouterOptions = { prefix };
|
||||
// const routerOpts: Router.IRouterOptions = { prefix };
|
||||
const routerOpts: Router.IRouterOptions = {};
|
||||
const router: Router = new Router(routerOpts);
|
||||
|
||||
router.get('/info', (ctx) => {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable no-undef */
|
||||
db = db.getSiblingDB(process.env.DB_NAME);
|
||||
db.createUser({
|
||||
user: process.env.DB_USERNAME,
|
||||
pwd: process.env.DB_PASSWORD,
|
||||
|
||||
Reference in New Issue
Block a user