Skip to content

Commit

Permalink
chore(cdk-docker-cluster): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels authored Jun 25, 2024
1 parent 4aad272 commit 213960a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/cdk-docker-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ This construct creates a load balanced Fargate service, for which it builds a Do

```ts
new DockerCluster({
path: "../my/directory", // Must contain a Dockerfile.
path: "../../", // path to Docker build context
file: "apps/myApp/DockerFile", // path to Dockerfile
port: 3000,
cpu: 256,
memory: 512,
instances: 1,
cpu: 1024, // 1vCPU
memory: 4096, // 4GB
tasks: { minimum: 1, maximum: 10 },
secrets: {
foo: DockerBuildSecret.fromSrc("./foo"),
},
Expand Down

0 comments on commit 213960a

Please sign in to comment.