Skip to content

Commit 9223eeb

Browse files
committed
update README
1 parent 676053a commit 9223eeb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ const service = new DefangService("defang-demo", {
3434
// reservations: { cpus: 0.5, memory: 512 },
3535
// },
3636
// },
37+
// healthcheck: {
38+
// test: ["CMD", "curl", "-f", "http://localhost:80/"], // for Alpine-based images use ["CMD", "wget", "-q", "-O-", …]
39+
// interval: 30,
40+
// timeout: 10,
41+
// retries: 3,
42+
// },
3743
});
3844

3945
export const fqdn = service.publicFqdn; // the final FQDN for your service
@@ -47,3 +53,14 @@ export const fabricDNS = service.fabricDNS;
4753
* `DEFANG_FABRIC` - override the Defang Fabric service endpoint; defaults to prod
4854
* `DEFANG_FORCE_UP` - set this to `1` or `true` to force an update (for debugging only)
4955
* `DEFANG_DEBUG` - set this to `1` or `true` to enable debug logging
56+
57+
58+
## Contributing
59+
60+
### Release a New Version
61+
62+
To release a new version, let NPM update the version number in `package.json`. The CI/CD pipeline will then publish the new version to the NPM registry.
63+
```sh
64+
npm version patch
65+
git push
66+
```

0 commit comments

Comments
 (0)