import { env } from '@extollo/lib'

export default {
    connections: {
        default: {
            user: env('DATABASE_USERNAME', 'www'),
            password: env('DATABASE_PASSWORD'),
            host: env('DATABASE_HOST', 'localhost'),
            port: env('DATABASE_PORT', 5432),
            database: env('DATABASE_NAME', 'extollo'),
            dialect: env('DATABASE_DIALECT', 'postgres'),
        },
    },
}
