DefangLabs / DefangLabs/defang
Defang generate with Redis should automatically add x-defang-redis
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 166
- Forks
- 24
- Avg merge
- 10h 8m
- Merged PRs (30d)
- 33
Description
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: redis:alpine
ports:
- 6379:6379
Good starting point, but we should make sure that generated code includes x-defang-redis: true if it includes Redis at all.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the defang generate entry point and trace how the generated Compose configuration is assembled and how Redis services are identified. Update the generated output so any project containing Redis includes x-defang-redis: true, then run the relevant generation checks or compare generated output with the example in this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100