瀏覽代碼

Change docker-entrypoint.sh

tomishinets.v 6 年之前
父節點
當前提交
fa34c87848
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -11,7 +11,7 @@ done
 /opt/updatedb.sh
 /opt/updatedb.sh
 if [[ $? -ne 0 ]]; then echo "An error occurred while updating the database ${MONGODB}"; exit 1;fi
 if [[ $? -ne 0 ]]; then echo "An error occurred while updating the database ${MONGODB}"; exit 1;fi
 
 
-sed -i "s/${DB_CLUSTER}/\"${DB_CLUSTER}\"/" /etc/web-laboratory-admin/application.conf
+sed -i "s/\${DB_CLUSTER}/\"${DB_CLUSTER}\"/" /etc/web-laboratory-admin/application.conf
 
 
 sed -i "s/ADMINHOST/$(dig ${HOSTNAME}.${APPNET} +short)/" /etc/web-laboratory-admin/application.conf
 sed -i "s/ADMINHOST/$(dig ${HOSTNAME}.${APPNET} +short)/" /etc/web-laboratory-admin/application.conf