aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerrick <[email protected]>2021-07-24 19:07:30 -0600
committerDerrick <[email protected]>2021-07-25 13:30:35 -0600
commit28641c9cc98b428455dd528b12a47d4a6907c4b9 (patch)
tree00ac24be6fe205a102b5ae972d25f48884613c1e
parentb758837e6543acc8b2069402bb0d003feb3d8906 (diff)
downloadcoinos-server-changeDefaultPass.tar.gz
coinos-server-changeDefaultPass.zip
Set a stronger sampleconfig/default development mariadb root password which also suggests the user change itchangeDefaultPass
-rw-r--r--.env.sample2
-rw-r--r--README.md2
-rw-r--r--sampleconfig/index.js2
-rw-r--r--sampleconfig/knexfile.js2
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',