tomishinets.v 6 anni fa
parent
commit
66a1ffa96d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -11,7 +11,7 @@ done
 /opt/updatedb.sh
 if [[ $? -ne 0 ]]; then echo "An error occurred while updating the database ${MONGODB}"; exit 1;fi
 
-sed -i "s/192.168.201.67\:27017/${DB_CLUSTER}/" /etc/web-laboratory-admin/application.conf
+sed -i "s/192.168.201.67\:27027/${DB_CLUSTER}/" /etc/web-laboratory-admin/application.conf
 
 sed -i "s/192\.168\.201\.13/$(nslookup ${HOSTNAME}.${APPNET} | grep Address | tail -n1 | cut -f2 -d' ')/" /etc/web-laboratory-admin/application.conf