* Separate environment configs * wip * wip * test * plugins * test * test * .sequelizerc, unfortunately can't go through /utils/environment due to not supporting TS * docker-compose -> docker compose * fix: .local wipes .development * Add custom validation message for invalid SECRET_KEY (often confused)
24 lines
457 B
JSON
24 lines
457 B
JSON
{
|
|
"development": {
|
|
"use_env_variable": "DATABASE_URL",
|
|
"dialect": "postgres"
|
|
},
|
|
"test": {
|
|
"use_env_variable": "DATABASE_URL",
|
|
"dialect": "postgres"
|
|
},
|
|
"production": {
|
|
"use_env_variable": "DATABASE_URL",
|
|
"dialect": "postgres",
|
|
"dialectOptions": {
|
|
"ssl": {
|
|
"rejectUnauthorized": false
|
|
}
|
|
}
|
|
},
|
|
"production-ssl-disabled": {
|
|
"use_env_variable": "DATABASE_URL",
|
|
"dialect": "postgres"
|
|
}
|
|
}
|