Support defining profiles on includes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker-compose, go
- 領域
- devops, infrastructure
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず Compose の include と profile の設定処理を追跡し、次に include されたサービスがどのようにマージされるかを確認してください。include エントリで親ファイルに profiles を定義でき、子ファイルは引き続き単独で使用でき、include されたサービスをその profile ありとなしで起動するケースがカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
The ability to "include" a compose file into a parent file is incredibly powerful for supporting modular compose configurations. However, a key missing feature is the ability to add a global profile to the included file from the parent compose file.
Our use case is having multiple the ability to split a super compose file into separate child compose files, but allowing control over which child compose files are started by default. For example, we have a parent compose file that spins up most of the stack needed for resting. However, we have a separate compose file for the components related to our internal dashboard (this includes frontend, backend, and agent services). We would like the ability to optionally start the dashboard services from the main compose file when needed.
While we could define the profile on services in the "child" compose file, this is not desirable as then the child compose file can no longer be independently used without always starting the profile.
The ideal solution would be to add profiles as a configuration key alongside path under include and automatically extend all services from the included configuration with the defined profiles.
- 主要言語
- Go
- スター
- 38.3k
- フォーク
- 5.8k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/compose のほかの issue
-
kind/feature
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
[BUG] `start -p <name>` treats an optional (`required: false`) dependency as required対応中かも @htoyoda18 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 22/100
メンテナーはふだん 1 日以内に返信
-
[BUG] docker compose run with `pull_policy: always` has a ruined progress bar対応中かも @ndeloof が 3 日前に担当しました。 オープンkind/bug
docker/compose#14292 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] `mode` attribute in `configs` works but raises an unsupported warning対応中かも @ndeloof が 2 日前に担当しました。 オープンkind/bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
docker/compose#14288 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] pre_start no longer inherits its parent environment対応中かも @ndeloof が 3 日前に担当しました。 オープンkind/bug
docker/compose#14287 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
duplication
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openvibely/openvibely#1443 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
keyxmakerx/Chronicle#1179 ·
メンテナーはふだん 1 日以内に返信
-
raised-by:worker
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
medici-finance/assay#2486 ·
メンテナーはふだん 1 日以内に返信
-
area/testing kind/bug triage/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cozystack/cozystack#4841 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信