Update CQ username

This commit is contained in:
infinite-persistence 2022-04-01 09:49:43 +08:00 committed by infinite-persistence
parent 075e285bd2
commit 143a3c83e7
2 changed files with 1 additions and 19 deletions

View file

@ -1,18 +0,0 @@
module.exports = {
apps : [{
name: 'server',
script: '/home/niko/work/repositories/odysee-frontend/web/index.js',
// Options reference: https://pm2.io/doc/en/runtime/reference/ecosystem-file/
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'dev',
CHAINQUERY_MYSQL_PASSWORD: '52BGpjWrDU3wy9rY5aa66b7NherlTWIv!',
SDK_API_URL: 'https://api.lbry.tv',
SENTRY_AUTH_TOKEN: '260966e12253414492c436108fbb58c9a2beef40c20b4f0c9200c98c4c194667'
}
}]
};

View file

@ -3,7 +3,7 @@ const mysql = require('mysql');
const pool = mysql.createPool({ const pool = mysql.createPool({
connectionLimit: 100, connectionLimit: 100,
host: 'chainquery.lbry.com', host: 'chainquery.lbry.com',
user: 'lbrytv', user: 'odyseefrontend',
password: process.env.CHAINQUERY_MYSQL_PASSWORD, password: process.env.CHAINQUERY_MYSQL_PASSWORD,
database: 'chainquery', database: 'chainquery',
}); });