make fill_database

This commit is contained in:
2019-03-17 17:25:59 +01:00
parent d8fd3ad30b
commit 2d4a6a152a
13 changed files with 72 additions and 373 deletions

View File

@@ -8,10 +8,9 @@ STACKNAME = dbstack
.PHONY: start_db FORCE
all: build_mongo run_stack create_users
all: build_run create_users
info:
echo "[*] RUN THIS A FEW TIMES (THE STACK NEEDS TIME TO CLEAN UP AND TO SPIN UP THE NODES)"
build_run: build_mongo run_stack
create.js: FORCE

View File

@@ -5,6 +5,8 @@ services:
my-mongo:
image: my-mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${DB_ADM_USER}
MONGO_INITDB_ROOT_PASSWORD: ${DB_ADM_PASS}