0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VisualStudioでDockerComposeの変更が適応されないときは多分overrideされてる

Posted at

結論

docker-compose.ymlを上書きするdocker-compose.override.ymlも一緒に作成されているので、docker-compose.ymlを編集する際はそちらも併せて修正する必要があることがあります。

経緯

複数のDockerプロジェクトを持つASP.NET coreのソリューションにて、VisualStudio2022にコンテナオーケストレーションを作成してもらってました。
プロキシサーバーを通してリクエストが来る予定なので、httpsの設定を除去しようとして各種設定を弄っていたところ、まったく適用してくれなくて困りました。
よく見たらVisualStudioが自動で作成してくれたdocker-compose.override.ymlで設定が上書きされていたせいで適用されていませんでした。おしまい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?