Last active
January 5, 2021 09:37
-
-
Save ashmore11/b5f722bf0941905935d9ebe63e22c3d2 to your computer and use it in GitHub Desktop.
Next Strapi Cloud Run (strapi database config)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = ({ env }) => ({ | |
defaultConnection: 'default', | |
connections: { | |
default: { | |
connector: 'bookshelf', | |
settings: { | |
client: 'mysql', | |
database: env('DB_NAME'), | |
host: env('DB_HOST'), | |
port: env.int('DB_PORT'), | |
username: env('DB_USERNAME'), | |
password: env('DB_PASSWORD'), | |
}, | |
options: { | |
debug: true, | |
}, | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment