Fix MySQL host/port config

This commit is contained in:
William Brawner 2020-09-01 18:25:49 +00:00
parent 27d415ffa0
commit 18c925b327

View file

@ -7,7 +7,7 @@ export const basicAuthConfig = {
export const dbConfig = {
connectionLimit: process.env.DB_POOL_SIZE || 10,
host: process.env.DB_HOST || 'localhost',
host: process.env.DB_PORT || 3306,
port: process.env.DB_PORT || 3306,
user: process.env.DB_USER || 'flayre',
password: process.env.DB_PASSWORD || 'flayre',
database: process.env.DB_NAME || 'flayre'