2 Commits

Author SHA1 Message Date
4d813c6c2c And this
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-10 19:29:34 -04:00
9b0b9baf16 Give this a try (but it likely will have no effect) 2023-05-10 19:27:38 -04:00
3 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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) => {

View File

@@ -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,