{"id":22983069,"url":"https://github.com/joeriddles/devcontainer-compose","last_synced_at":"2026-05-06T04:32:43.418Z","repository":{"id":114979002,"uuid":"443176351","full_name":"joeriddles/devcontainer-compose","owner":"joeriddles","description":"An example devcontainer project using docker compose","archived":false,"fork":false,"pushed_at":"2022-01-04T19:06:39.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T05:49:59.789Z","etag":null,"topics":["devcontainers","docker","docker-compose","python","vscode"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joeriddles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-30T20:18:20.000Z","updated_at":"2023-11-07T16:14:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"bef2760e-5a06-4fdb-98fc-3309b1552d38","html_url":"https://github.com/joeriddles/devcontainer-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joeriddles/devcontainer-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdevcontainer-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdevcontainer-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdevcontainer-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdevcontainer-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeriddles","download_url":"https://codeload.github.com/joeriddles/devcontainer-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeriddles%2Fdevcontainer-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devcontainers","docker","docker-compose","python","vscode"],"created_at":"2024-12-15T02:35:04.961Z","updated_at":"2026-05-06T04:32:43.401Z","avatar_url":"https://github.com/joeriddles.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [VS Code development containers](https://code.visualstudio.com/docs/remote/containers) with [`docker-compose`](https://docs.docker.com/compose/)\n\nThis repo demonstrates how to setup a VS Code devcontainer using multiple `docker-compose` files.\n\n**`.env` file _must_ be in the same directory as the `docker-compose` files. See this [issue](https://github.com/microsoft/vscode-remote-release/issues/2706) for more info**. In this repo, we have duplicated `.env` from the base directory to also the subdirectory `/docker`.\n\n## `docker-compose` Services\n\n`code` is the container that VS Code will attach to. We mount our source code into the container.\n\n`app` is the example Python application. This service would typically be an API or other application that is built using your source code. In this case, the image expects a single build argument, `HELLO_WORLD`, and prints this argument to stdout using the Python app. The environment variable is [automatically picked-up](https://code.visualstudio.com/remote/advancedcontainers/environment-variables#_option-2-use-an-env-file) from `.env` by docker.\n\n`other_app` exists only to showcase that we can override an image's default `command` from our compose file. We can use environment variable subsitution in the service's `command`.\n\nBoth `app` and `other_app` should print the environment variable value of `HELLO_WORLD` to stdout and exit without any errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeriddles%2Fdevcontainer-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeriddles%2Fdevcontainer-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeriddles%2Fdevcontainer-compose/lists"}