defang 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
## Develop Once, Deploy Anywhere.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Take your app from Docker Compose to a secure and scalable deployment on your favorite cloud in minutes.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
5
|
+
## Defang CLI
|
|
6
|
+
|
|
7
|
+
The Defang Command-Line Interface [(CLI)](https://docs.defang.io/docs/getting-started) is designed for developers who prefer to manage their workflows directly from the terminal. It offers full access to Defang’s capabilities, allowing you to build, test, and deploy applications efficiently to the cloud.
|
|
8
8
|
|
|
9
9
|
## Getting started
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ Develop Anything, Deploy Anywhere. Take your app from Docker Compose to a secure
|
|
|
16
16
|
|
|
17
17
|
## Support
|
|
18
18
|
|
|
19
|
-
- File any issues [
|
|
19
|
+
- File any issues [here](https://github.com/DefangLabs/defang/issues)
|
|
20
20
|
|
|
21
21
|
## Environment Variables
|
|
22
22
|
|
|
@@ -24,18 +24,32 @@ The Defang CLI recognizes the following environment variables:
|
|
|
24
24
|
|
|
25
25
|
- `COMPOSE_PROJECT_NAME` - The name of the project to use; overrides the name in the `compose.yaml` file
|
|
26
26
|
- `DEFANG_ACCESS_TOKEN` - The access token to use for authentication; if not specified, uses token from `defang login`
|
|
27
|
+
- `DEFANG_BUILD_CONTEXT_LIMIT` - The maximum size of the build context when building container images; defaults to `100MiB`
|
|
27
28
|
- `DEFANG_CD_BUCKET` - The S3 bucket to use for the BYOC CD pipeline; defaults to `defang-cd-bucket-…`
|
|
28
29
|
- `DEFANG_CD_IMAGE` - The image to use for the Continuous Deployment (CD) pipeline; defaults to `public.ecr.aws/defang-io/cd:public-beta`
|
|
29
30
|
- `DEFANG_DEBUG` - set this to `1` or `true` to enable debug logging
|
|
30
31
|
- `DEFANG_DISABLE_ANALYTICS` - If set to `true`, disables sending analytics to Defang; defaults to `false`
|
|
32
|
+
- `DEFANG_EDITOR` - The editor to launch after new project generation; defaults to `code` (VS Code)
|
|
31
33
|
- `DEFANG_FABRIC` - The address of the Defang Fabric to use; defaults to `fabric-prod1.defang.dev`
|
|
34
|
+
- `DEFANG_JSON` - If set to `true`, outputs JSON instead of human-readable output; defaults to `false`
|
|
32
35
|
- `DEFANG_HIDE_HINTS` - If set to `true`, hides hints in the CLI output; defaults to `false`
|
|
33
36
|
- `DEFANG_HIDE_UPDATE` - If set to `true`, hides the update notification; defaults to `false`
|
|
34
|
-
- `
|
|
37
|
+
- `DEFANG_ISSUER` - The OAuth2 issuer to use for authentication; defaults to `https://auth.defang.io`
|
|
38
|
+
- `DEFANG_MODEL_ID` - The model ID of the LLM to use for the generate/debug AI integration (Pro users only)
|
|
39
|
+
- `DEFANG_NO_CACHE` - If set to `true`, disables pull-through caching of container images; defaults to `false`
|
|
40
|
+
- `DEFANG_ORG` - The name of the organization to use; defaults to the user's GitHub name
|
|
41
|
+
- `DEFANG_PREFIX` - The prefix to use for all BYOC resources; defaults to `Defang`
|
|
42
|
+
- `DEFANG_PROVIDER` - The name of the cloud provider to use, `auto` (default), `aws`, `digitalocean`, `gcp`, or `defang`
|
|
43
|
+
- `DEFANG_PULUMI_BACKEND` - The Pulumi backend URL or `"pulumi-cloud"`; defaults to a self-hosted backend
|
|
44
|
+
- `DEFANG_PULUMI_DIR` - Run Pulumi from this folder, instead of spawning a cloud task; requires `--debug` (BYOC only)
|
|
45
|
+
- `DEFANG_PULUMI_VERSION` - Override the version of the Pulumi image to use (`aws` provider only)
|
|
46
|
+
- `DEFANG_TENANT` - The name of the tenant to use.
|
|
35
47
|
- `NO_COLOR` - If set to any value, disables color output; by default, color output is enabled depending on the terminal
|
|
48
|
+
- `PULUMI_ACCESS_TOKEN` - The Pulumi access token to use for authentication to Pulumi Cloud; see `DEFANG_PULUMI_BACKEND`
|
|
49
|
+
- `PULUMI_CONFIG_PASSPHRASE` - Passphrase used to generate a unique key for your stack, and configuration and encrypted state values
|
|
36
50
|
- `TZ` - The timezone to use for log timestamps: an IANA TZ name like `UTC` or `Europe/Amsterdam`; defaults to `Local`
|
|
37
51
|
- `XDG_STATE_HOME` - The directory to use for storing state; defaults to `~/.local/state`
|
|
38
52
|
|
|
39
|
-
|
|
53
|
+
Environment variables will be loaded from a `.defangrc` file in the current directory, if it exists. This file follows
|
|
54
|
+
the same format as a `.env` file: `KEY=VALUE` pairs on each line, lines starting with `#` are treated as comments and ignored.
|
|
40
55
|
|
|
41
|
-
Made by [Defang Labs](https://defang.io)
|
package/package.json
CHANGED