From 28641c9cc98b428455dd528b12a47d4a6907c4b9 Mon Sep 17 00:00:00 2001 From: Derrick Date: Sat, 24 Jul 2021 19:07:30 -0600 Subject: Set a stronger sampleconfig/default development mariadb root password which also suggests the user change it --- .env.sample | 2 +- README.md | 2 +- sampleconfig/index.js | 2 +- sampleconfig/knexfile.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.sample b/.env.sample index 9678b5e0..d30c0b0d 100644 --- a/.env.sample +++ b/.env.sample @@ -11,5 +11,5 @@ LIQUID_TX_PORT=18607 LIQUID_ESPLORA_URL=http://localhost:5005 LIQUID_ESPLORA_PORT=5005 LIQUID_ELECTRS_URL=http://localhost:3012 -ROOT_PASSWORD=password +ROOT_PASSWORD=SetASecurePasswordHere HOST=dev.coinos.io diff --git a/README.md b/README.md index f191da3e..fe962bef 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ This repository contains the code for the backend API server which is implemente cp fx.sample fx cp sample.override.yml docker-compose.override.yml docker-compose up -d --force-recreate maria - docker exec -i mariadb mysql -u root -ppassword < db/schema.sql + docker exec -i mariadb mysql -u root -pSetASecurePasswordHere < db/schema.sql docker-compose up Note the last step will take some time on first run as it will download the aforementioned docker images. diff --git a/sampleconfig/index.js b/sampleconfig/index.js index 6dc1bda5..5ef65648 100644 --- a/sampleconfig/index.js +++ b/sampleconfig/index.js @@ -2,7 +2,7 @@ const debug = require("debug")("test"); const db = { user: "root", - password: "password", + password: "SetASecurePasswordHere", database: "coinos", host: "mariadb", dialect: "mariadb", diff --git a/sampleconfig/knexfile.js b/sampleconfig/knexfile.js index 4df78b84..3232ec0b 100644 --- a/sampleconfig/knexfile.js +++ b/sampleconfig/knexfile.js @@ -7,7 +7,7 @@ module.exports = { host: 'mariadb', database: 'coinos', user: 'root', - password: 'password' + password: 'SetASecurePasswordHere' }, migrations: { tableName: 'migrations', -- cgit v1.2.3