Skip to content

Instantly share code, notes, and snippets.

@ashmore11
Last active January 19, 2021 18:44
Show Gist options
  • Save ashmore11/c20f8948f8310718b029f727edac43d0 to your computer and use it in GitHub Desktop.
Save ashmore11/c20f8948f8310718b029f727edac43d0 to your computer and use it in GitHub Desktop.
Next Strapi Cloud Run (database production)
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "bookshelf",
"settings": {
"client": "mysql",
"database": "${process.env.DB_NAME}",
"username": "${process.env.DB_USERNAME}",
"password": "${process.env.DB_PASSWORD}",
"socketPath": "${process.env.DB_SOCKET_PATH}"
},
"options": {
"pool": {
"min": 0,
"max": 15,
"idleTimeoutMillis": 30000,
"createTimeoutMillis": 30000,
"acquireTimeoutMillis": 30000
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment