瀏覽代碼

missprint

tomishinets.v 6 年之前
父節點
當前提交
66a1ffa96d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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