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/concepts/compose.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,6 @@ You can create a `compose.yaml` file in the root of your project, or use the [`d
16
16
17
17
When you run `defang compose up`, Defang will read your `compose.yaml` file and [deploy](./deployments.md) the services named in that file to the cloud.
18
18
19
-
## Service Name Resolution
20
-
21
-
Defang identifies services by the [account username](./accounts.md) and the service name (as defined in the `compose.yaml` file). This means that if you have multiple Defang projects with the same service name, they will conflict with each other. We plan to provide a more robust system for managing service names in the future.
22
-
23
19
## Example of a Compose File
24
20
Here is a basic `compose.yaml` file that contains all the required properties for deployment in Defang.
25
21
@@ -61,6 +57,10 @@ services:
61
57
# add service-level properties here
62
58
```
63
59
60
+
:::info Service Name Resolution
61
+
Defang identifies services by the [account username](./accounts.md) and the service name (as defined in the `compose.yaml` file). This means that if you have multiple Defang projects with the same service name, they will conflict with each other. We recommend using a different name for each service you define.
62
+
:::
63
+
64
64
### `version`
65
65
(Deprecated)
66
66
@@ -81,7 +81,7 @@ The volume mounts for a container, reusable across services. This feature is not
81
81
```
82
82
83
83
:::warning
84
-
Defang does not support the `secrets` top-level property. Please read our [Configuration](/docs/concepts/configuration) page instead.
84
+
Defang does not support the `secrets` top-level property. Please read our [Configuration](/docs/concepts/configuration) page for more.
0 commit comments