Browse Source

Fix the db host name for play2-scala-reactive (#2657)

Michael Hixson 8 years ago
parent
commit
1789e78c79

+ 1 - 1
frameworks/Scala/play2-scala/play2-scala-reactivemongo/conf/application.conf

@@ -45,6 +45,6 @@ play.i18n.langs = [ "en" ]
 
 play.modules.enabled += "play.modules.reactivemongo.ReactiveMongoModule"
 
-mongodb.servers = ["localhost:27017"]
+mongodb.servers = ["TFB-database:27017"]
 mongodb.db = "hello_world"
 

+ 0 - 1
frameworks/Scala/play2-scala/setup_scala_reactivemongo.sh

@@ -3,7 +3,6 @@
 fw_depends mongodb java sbt
 
 cd play2-scala-reactivemongo
-sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' ${TROOT}/play2-scala-reactivemongo/conf/application.conf
 
 rm -rf ${TROOT}/play2-scala-reactivemongo/target/universal/stage/RUNNING_PID