Skip to content

Commit 88cc6b5

Browse files
committed
add top level property heading
1 parent 27226b6 commit 88cc6b5

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docs/concepts/compose-support.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ services:
2323

2424
```
2525

26+
## Compose Top-level Properties
27+
Here are a list of top-level properties of the [Compose specification](https://docs.docker.com/compose/compose-file/) that Defang supports when writing a `compose.yaml` file.
28+
29+
### `version`
30+
(Deprecated)
31+
32+
The version of the Compose file format being used. This feature is no longer supported and will be ignored by Defang.
33+
34+
### `volumes`
35+
(Unsupported)
36+
37+
The volume mounts for a container, reusable across services. This feature is not currently supported by Defang.
38+
2639
## Compose Service Properties
2740
Here are a list of service-level properties of the [Compose specification](https://docs.docker.com/compose/compose-file/) that Defang supports when writing a `compose.yaml` file.
2841

@@ -121,15 +134,10 @@ The restart mode for a container. Defaults to `unless-stopped` unless otherwise
121134
restart: unless-stopped
122135
```
123136

124-
### `version`
125-
(Deprecated)
126-
127-
The version of the Compose file format being used. This feature is no longer supported and will be ignored by Defang.
128-
129137
### `volumes`
130138
(Unsupported)
131139

132-
The volume for a container. This feature is not currently supported by Defang.
140+
The volume mounts for a container, specific to a service. This feature is not currently supported by Defang.
133141

134142

135143
### Configuration

0 commit comments

Comments
 (0)