defang
defang copied to clipboard
Defang CLI and sample projects
``` --wait Wait for services to be running|healthy. Implies detached mode. --wait-timeout int Maximum duration to wait for the project to be running|healthy. ```
`defang generate` gave me this file: ``` services: service1: restart: always build: context: . dockerfile: Dockerfile ports: - mode: ingress target: 3000 environment: - REDIS_HOST=redis - REDIS_PORT=6379 redis: image: redis:alpine...
I generated a project with `defang generate` which ended up looking like this: ``` services: service1: restart: always build: context: . dockerfile: Dockerfile environment: - REDIS_HOST=redis - REDIS_PORT=6379 redis: image:...
`defang generate` gave me a really nice little app that includes this: ``` const app = express(); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: true })); app.post('/task', async (req, res) => { const {...
This fails: ``` services: api: restart: always build: context: . dockerfile: Dockerfile ports: - mode: ingress target: 3000 published: 3000 environment: - REDIS_HOST=redis - REDIS_PORT=6379 processor: restart: always build: context:...
Fabric already returns relevant errors, should show a BYOC hint in the CLI.
We want to aggregate into one stream subscribe service states and tail log entries. This will significantly simplify CLI handling of two streams at the same time. In SubscribeRequest include...
Increase test coverage. As codebase and functionality increases we need to ensure we don't create regressions and need to increase confidence in our code changes. - [ ] subscribe.go -...
It would be neat if you could import an SDK to control your Defang provisioned infrastructure from within your application. For example something very loosely along these lines: ```typescript import...
Fixes #123