diff --git a/CMakeLists.txt b/CMakeLists.txt index f4b6818..9d2de64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,11 +74,11 @@ set(PHRASE_LOG_FILE_PATH "${concordia-server_SOURCE_DIR}/logs/phrase-searches.js # -------------- # db settings # -------------- -set (DB_NAME "concordia_server") +set (DB_NAME "concordia_db") set (DB_USER "concordia") set (DB_PASSWORD "concordia") -set (DB_HOST "localhost") -set (DB_PORT "6543") +set (DB_HOST "concordia-postgres") +set (DB_PORT "5432") configure_file ( "${concordia-server_SOURCE_DIR}/concordia-server/config.hpp.in" diff --git a/concordia-server/socket_lemmatizer.cpp b/concordia-server/socket_lemmatizer.cpp index 137f4ab..c9f379c 100644 --- a/concordia-server/socket_lemmatizer.cpp +++ b/concordia-server/socket_lemmatizer.cpp @@ -24,7 +24,7 @@ bool SocketLemmatizer::_connect() { throw ConcordiaException("Could not create socket for the lemmatizer."); } - std::string address = "127.0.0.1"; + std::string address = "lemmagen"; //setup address structure if(inet_addr(address.c_str()) == -1) {