Some more adaptation on DB_HOST and DB_PORT usage
When the DB is exposed, you actually have to go through the exposed port, as the internal network port is not available anymore.
This commit is contained in:
@@ -104,12 +104,12 @@ db {
|
||||
woken {
|
||||
jdbc_driver = "org.postgresql.Driver"
|
||||
jdbc_jar_path = "/usr/lib/R/libraries/postgresql-9.4-1201.jdbc41.jar"
|
||||
jdbc_url = "jdbc:postgresql://db:5432/DB_NAME3"
|
||||
jdbc_url = "jdbc:postgresql://DB_HOST:DB_PORT/DB_NAME3"
|
||||
jdbc_user = "DB_USER3"
|
||||
jdbc_password = "DB_PASSWORD3"
|
||||
|
||||
host = "db"
|
||||
port = 5432
|
||||
host = "DB_HOST"
|
||||
port = DB_PORT
|
||||
user = "DB_USER3"
|
||||
password = "DB_PASSWORD3"
|
||||
}
|
||||
@@ -117,12 +117,12 @@ db {
|
||||
features {
|
||||
jdbc_driver = "org.postgresql.Driver"
|
||||
jdbc_jar_path = "/usr/lib/R/libraries/postgresql-9.4-1201.jdbc41.jar"
|
||||
jdbc_url = "jdbc:postgresql://db:5432/DB_NAME2"
|
||||
jdbc_url = "jdbc:postgresql://DB_HOST:DB_PORT/DB_NAME2"
|
||||
jdbc_user = "DB_USER2"
|
||||
jdbc_password = "DB_PASSWORD2"
|
||||
|
||||
host = "db"
|
||||
port = 5432
|
||||
host = "DB_HOST"
|
||||
port = DB_PORT
|
||||
user = "DB_USER2"
|
||||
password = "DB_PASSWORD2"
|
||||
}
|
||||
@@ -130,12 +130,12 @@ db {
|
||||
metadata {
|
||||
jdbc_driver = "org.postgresql.Driver"
|
||||
jdbc_jar_path = "postgresql-9.4-1201.jdbc41.jar"
|
||||
jdbc_url = "jdbc:postgresql://db:5432/DB_NAME1"
|
||||
jdbc_url = "jdbc:postgresql://DB_HOST:DB_PORT/DB_NAME1"
|
||||
jdbc_user = "DB_USER1"
|
||||
jdbc_password = "DB_PASSWORD1"
|
||||
|
||||
host = "db"
|
||||
port = 5432
|
||||
host = "DB_HOST"
|
||||
port = DB_PORT
|
||||
user = "DB_USER1"
|
||||
password = "DB_PASSWORD1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user