Skip to content

Commit 45c01a0

Browse files
Addressing feedback
1 parent 1175de4 commit 45c01a0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/concepts/projects.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
---
22
title: Projects
3-
description: A _project_ refers to a cohesive collection of services, networks, and volumes which are defined and managed using a `compose.yml` file.
3+
description: A _project_ refers to a cohesive collection of services which are defined and managed using a `compose.yml` file.
44
sidebar_position: 200
55
---
66

77
# Projects
88

9-
A _project_ refers to a cohesive collection of services, networks, and volumes which are defined and managed using a `compose.yaml` file. These are the components of your cloud application.
9+
A _project_ refers to a cohesive collection of services which are defined and managed using a `compose.yaml` file.
1010

1111
## Project Names
1212

1313
The _project name_ can be defined in the compose file with [the `name` property](https://docs.docker.com/compose/compose-file/04-version-and-name/#name-top-level-element), otherwise the base name of the project directory will be used.
1414

15-
The [`--project-name` CLI flag](/docs/cli/defang) can be used to specify the target project name when the `compose.yaml` file is not present.
15+
The project name may then be used when performing project-wide operations such as listing services, tailing logs, or deprovisioning. For example:
16+
```
17+
defang services --project-name <project-name>
18+
defang tail --project-name <project-name>
19+
defang compose down --project-name <project-name>
20+
```
21+
22+
By default `defang` will use the project name from the `compose.yaml` file in the working directory. The [`--project-name` CLI flag](/docs/cli/defang) may be used when running `defang` from outside the working directory.

0 commit comments

Comments
 (0)