Skip to content

Add Docker Compose generation#4

Open
caydyan wants to merge 1 commit into
nibzard:mainfrom
caydyan:codex/docker-compose-generation-25
Open

Add Docker Compose generation#4
caydyan wants to merge 1 commit into
nibzard:mainfrom
caydyan:codex/docker-compose-generation-25

Conversation

@caydyan

@caydyan caydyan commented Jun 14, 2026

Copy link
Copy Markdown

/claim #25

Summary

  • Add a Docker Compose generator that derives a docker-compose.yml from the generated or cached devcontainer.json.
  • Display the Docker Compose output alongside the devcontainer result with the existing copy-button behavior.
  • Support image-based and Dockerfile/build-based devcontainer configs, forwarded ports, local environment references, and a safe base-image fallback for unparsable JSON.
  • Keep the compose generation out of the database schema so cached and newly generated records both work without a migration.

Tests

python3 -m unittest discover -s tests
python3 -m compileall helpers main.py tests/test_docker_compose_generation.py
git diff --check

Repository note

Algora links this bounty to daytonaio/devcontainer-generator#25, but the live GitHub API returns 404/disabled issues for that repository path. This PR targets the public repository currently exposing the codebase, nibzard/devcontainer-generator, matching the existing claim PR pattern in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant