We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use a database URL or connection string to initialize Sequelize?
The docs show this, but if many of our environments we use a string provided through an environment variable:
imports: [ ConfigModule.forRoot(), SequelizeModule.forRoot({ dialect: 'postgres', host: process.env.DATABASE_HOST, port: parseInt(process.env.DATABASE_PORT, 10), username: process.env.DATABASE_USER, password: process.env.DATABASE_PWD, database: process.env.DATABASE_DB, logging: process.env.DATABASE_ENABLE_LOGGING === 'true', ssl: process.env.DATABASE_REQUIRE_SSL === 'true', }), ], controllers: [StatusController], providers: [], })```
The text was updated successfully, but these errors were encountered:
Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.
Sorry, something went wrong.
No branches or pull requests
Is it possible to use a database URL or connection string to initialize Sequelize?
The docs show this, but if many of our environments we use a string provided through an environment variable:
The text was updated successfully, but these errors were encountered: