部署更新的容器映像后,Azure App Service设置已更改 [英] Azure App Service settings changed after deploying updated container image

查看:86
本文介绍了部署更新的容器映像后,Azure App Service设置已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。 
$


正如主题所说,在部署更新的容器图像时,我的网络应用设置存在问题。从"TRUE"更改的设置"FALSE"是:$


" HTTP_ENABLE_APP_SERVICE_STORAGE = TRUE" 

更新容器时以及重新启动网络应用后,此设置为" ; FALSE"。$


Dockerimage存储在ACR中。任何解决方案?



我一直试图谷歌并找到解决方案,但还没有找到任何东西,甚至我应该开始寻找。



感谢您的帮助,

Hi. 

As the topic say I have a problem with my web app settings when deploying an updated container image. The setting that get changed from "TRUE" to "FALSE" is:

"HTTP_ENABLE_APP_SERVICE_STORAGE=TRUE" 
When updating the container and after the restart of the web app this setting is "FALSE".

Dockerimage is stored in ACR. Any solutions?

I have been trying to google around and find solutions but have not yet found anything or even where I should start looking.

Thanks for help,

更新1:

当我在az cli中运行以下命令时出现问题:

The problem occurs when I run the following commands in az cli:

az webapp配置容器集\

- docker-custom-image-name" DOCKER | xx.azurecr.io/imagename:tag" \

- docker-registry-server-password topsecret \

--docker-registry-server-url https://index.docker.io \

- docker-registry-server-user username \

- 名称MyWebApp \

- 资源组MyResourceGroup

此命令的返回显示以下内容:

The return of this command shows the following:

  {

    " name":"WEBSITES_ENABLE_APP_SERVICE_STORAGE",

    " slotSetting":false,

    "value":" false"

  },

即使在更新之前设置为TRUE。我没有使用插槽,但我尝试在
" slotSetting":true," value":" true"上设置值。
但仍未成功。

Even though that the setting was TRUE before updating. Im not using slots but I have tried with setting the value on both "slotSetting": true, and "value": "true" but still no success.







推荐答案

感谢您的提问!会很快更新。
Thanks for the Question! Will update you shortly.


这篇关于部署更新的容器映像后,Azure App Service设置已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆