coder / coder/envbuilder

envbuilder don't recognize "dockerComposeFile" param

オープン
#107 コメント 1 件 リアクション 7 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
300
フォーク
64
平均マージ
20分
マージ済み PR(30日)
1

説明

Hi! My devcontainer.json looks like this:

```json
{
"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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

提供された devcontainer.json と ../example.docker-compose.yml から始め、envbuilder が dockerComposeFile オプションをデフォルトのイメージパスとどのように扱うかを追跡します。app サービスと db サービスをビルドして起動すべきかを定義し、この設定を使用する workspace がデフォルトのイメージにフォールバックしなくなったことを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker-compose
領域
devops
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。