From 4c348aec8ce03829e5861c00a46d6db7e2507fe5 Mon Sep 17 00:00:00 2001 From: Yuri Breion Date: Sat, 4 Sep 2021 19:57:52 -0300 Subject: [PATCH] Database firewall configuration Added a topic to consider the firewall configuration in case of integration with MongoDB Atlas or any other datasource during the deployment. It's just a suggestion, because I faced this situation using Atlas and Heroku. --- .../07_Deploying_to_the_Cloud.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Full Stack Web App with Kotlin Multiplatform/07_Deploying_to_the_Cloud.md b/Full Stack Web App with Kotlin Multiplatform/07_Deploying_to_the_Cloud.md index c3d20f4..46677d6 100644 --- a/Full Stack Web App with Kotlin Multiplatform/07_Deploying_to_the_Cloud.md +++ b/Full Stack Web App with Kotlin Multiplatform/07_Deploying_to_the_Cloud.md @@ -46,6 +46,10 @@ To turn on compilation with optimizations for our JavaScript assets, we need to At this point, it's time we move on without further guidance – but that doesn't mean we should stop experimenting! Check out the "What's next" section to find some inspiration for what else could be done with the project. +#### Allowing to access the database + +During the application deployment, possibly the firewall rules should be changed to allow the application to access the database. More details are available at [MongoDB docs](https://docs.atlas.mongodb.com/security/ip-access-list/) + ### Relevant Gradle configuration The `stage` task is an alias for `installDist`: