config.js 1.02 KB
const config = {
    'development': {
        'username': process.env.MYSQL_DEV_USER,
        'password': process.env.MYSQL_DEV_USER_PASSWORD,
        'host': process.env.MYSQL_DEV_HOST,
        'port': process.env.MYSQL_DEV_PORT,
        'database': process.env.KICK_DEV_DB_NAME,
        'dialect': 'mysql',
        'operatorsAliases': false
    },
    'test': {
        'username': process.env.MYSQL_DEV_USER,
        'password': process.env.MYSQL_DEV_USER_PASSWORD,
        'host': process.env.MYSQL_DEV_HOST,
        'port': process.env.MYSQL_DEV_PORT,
        'database': process.env.KICK_DEV_DB_NAME,
        'dialect': 'mysql',
        'operatorsAliases': false
    },
    'production': {
        'username': process.env.MYSQL_USER,
        'password': process.env.MYSQL_USER_PASSWORD,
        'host': process.env.MYSQL_HOST,
        'port': process.env.MYSQL_PORT,
        'database': process.env.KICK_DB_NAME,
        'dialect': 'mysql',
        'operatorsAliases': false,
        'logging': false
    }
};

module.exports = config;