Skip to content

Commit 1f2c25f

Browse files
author
linda
committed
clear config explanation
1 parent eb96b62 commit 1f2c25f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/concepts/configuration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ defang config set API_KEY
1919

2020
You can use sensitive config by specifying them in the `environment` section of a service in a `compose.yaml` file without any value, or by specifying an environment key with a `null` value in your Pulumi code.
2121

22+
Either one of list notation or map notation is acceptable for defining your environment variable(s). See below for an example of each.
23+
24+
#### With List Notation
2225
```yaml
2326
services:
2427
service1:
@@ -27,9 +30,7 @@ services:
2730
- API_KEY
2831
```
2932
30-
You can also use this syntax:
31-
32-
33+
#### With Map Notation
3334
```yaml
3435
services:
3536
service1:

0 commit comments

Comments
 (0)