You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/containers/docker-compose-properties.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: ghogen
4
4
description: Learn how to edit the Docker Compose build properties to customize how Visual Studio builds and runs a Docker Compose application.
5
5
ms.custom: SEO-VS-2020
6
6
ms.author: ghogen
7
-
ms.date: 08/12/2019
7
+
ms.date: 04/06/2021
8
8
ms.technology: vs-azure
9
9
ms.topic: reference
10
10
---
@@ -37,7 +37,7 @@ The following table shows the MSBuild properties available for Docker Compose pr
37
37
|DockerComposeProjectName| dcproj | If specified, overrides the project name for a docker-compose project. | "dockercompose" + auto-generated hash |
38
38
|DockerComposeProjectPath|csproj or vbproj|The relative path to the docker-compose project (dcproj) file. Set this property when publishing the service project to find the associated image build settings stored in the docker-compose.yml file.|-|
39
39
|DockerComposeUpArguments|dcproj|Specifies the extra parameters to pass to the `docker-compose up` command. For example, `--timeout 500`|-|
40
-
|DockerDevelopmentMode|dcproj| Controls whether "build-on-host" optimization ("Fast Mode" debugging) is enabled. Allowed values are **Fast** and **Regular**. | Fast |
40
+
|DockerDevelopmentMode|dcproj| Controls whether "build-on-host" optimization ("Fast Mode" debugging) is enabled. Allowed values are `Fast` and `Regular`. |`Fast` in the Debug configuration or `Regular` in all other configurations |
41
41
|DockerLaunchAction| dcproj | Specifies the launch action to perform on F5 or Ctrl+F5. Allowed values are None, LaunchBrowser, and LaunchWCFTestClient.|None|
42
42
|DockerLaunchBrowser| dcproj | Indicates whether to launch the browser. Ignored if DockerLaunchAction is specified. | False |
43
43
|DockerServiceName| dcproj|If DockerLaunchAction or DockerLaunchBrowser are specified, then DockerServiceName is the name of the service that should be launched. Use this property to determine which of the potentially many projects that a docker-compose file can reference will be launched.|-|
@@ -87,11 +87,11 @@ services:
87
87
> [!NOTE]
88
88
> DockerComposeBuildArguments, DockerComposeDownArguments, and DockerComposeUpArguments are new in Visual Studio 2019 version 16.3.
You can override certain settings by placing a file named *docker-compose.vs.debug.yml* (for the **Debug** configuration) or *docker-compose.vs.release.yml* (for the **Release** configuration) in the same directory as your *docker-compose.yml* file.
92
+
You can override certain settings by placing a file named *docker-compose.vs.debug.yml* (for **Fast** mode) or *docker-compose.vs.release.yml* (for **Regular** mode) in the same directory as your *docker-compose.yml* file.
93
93
94
-
Visual Studio auto-generates the files *docker-compose.vs.debug.g.yml* or *docker-compose.vs.release.g.yml* for enabling debugging the project depending on the debug configuration. You can override certain configurations by creating a file named *docker-compose.vs.debug.yml* (for the **Debug** configuration) or *docker-compose.vs.release.yml* (for the **Release** configuration) in the same directory as your *docker-compose.yml* file."
94
+
> **Tip:** To find out the default values for any of these settings, look in *docker-compose.vs.debug.g.yml* or *docker-compose.vs.release.g.yml*.
0 commit comments