Skip to content

envbuilder don't recognize "dockerComposeFile" param #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BoBRoID opened this issue Mar 13, 2024 · 1 comment
Open

envbuilder don't recognize "dockerComposeFile" param #107

BoBRoID opened this issue Mar 13, 2024 · 1 comment

Comments

@BoBRoID
Copy link

BoBRoID commented Mar 13, 2024

Hi! My devcontainer.json looks like this:

{
  "name": "keycrm",
  "dockerComposeFile": [
    "../example.docker-compose.yml"
  ],
  "service": "app",
  "services": ["app", "db"],
  "forwardPorts": [80],
  "postAttachCommand": "service apache2 start",
  "extensions": [
    "felixfbecker.php-pack",
    "cweijan.vscode-mysql-client2"
  ]
}

and coder don't recognize "dockerComposeFile" option. It's described in devcontainer.json schema, and supported by my IDE (phpstorm) as well. But when I'm trying to create a workspace with such devcontainer it usually fallback to default image.
So, maybee in future, would envbuilder support docker-compose files to build, or I'm using it in wrong way? I'm trying to make developer's workspace with standalone environment, but creating only "app" is not enough in case of no DB.

@dannykopping
Copy link
Contributor

dannykopping commented Apr 23, 2024

@BoBRoID thank you for reporting this; we're keen on adding compose support.
We'll need to do some experimentation first, and I've added a new ticket #135 to track that.

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

No branches or pull requests

3 participants