Further adjustments to docker-compose for testing
This commit is contained in:
parent
3add0ccb52
commit
2dfd01cdf5
@ -1,10 +1,15 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
mongo:
|
||||
image: mongo
|
||||
image: mongo:6.0-focal
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: owl
|
||||
MONGO_INITDB_ROOT_PASSWORD: twittwoo
|
||||
volumes:
|
||||
- mongo-test:/var/lib/mysql
|
||||
ports:
|
||||
- 27017:27017
|
||||
volumes:
|
||||
mongo-test:
|
@ -1,14 +1,12 @@
|
||||
// General DB Access aswell as dbInit tests etc.
|
||||
|
||||
const { MongoClient } = require('mongodb');
|
||||
|
||||
|
||||
const dbUser = process.env.OWL_DB_USER || "owl"
|
||||
const dbPass = process.env.OWL_DB_PASS || "twittwoo"
|
||||
const dbName = process.env.OWL_DB_NAME || "owlboard"
|
||||
const dbPort = process.env.OWL_DB_PORT || 27017
|
||||
const dbHost = process.env.OWL_DB_HOST || "database"
|
||||
|
||||
const { MongoClient } = require('mongodb');
|
||||
|
||||
async function getCrs(tiploc) {
|
||||
|
||||
|
Reference in New Issue
Block a user