-
Notifications
You must be signed in to change notification settings - Fork 0
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
Docker Compose support #83
Draft
daichitakahashi
wants to merge
16
commits into
main
Choose a base branch
from
recompose
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a198e96 - Browse repository at this point
Copy the full SHA a198e96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d54a6 - Browse repository at this point
Copy the full SHA 30d54a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60716a9 - Browse repository at this point
Copy the full SHA 60716a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05833c4 - Browse repository at this point
Copy the full SHA 05833c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a830f7 - Browse repository at this point
Copy the full SHA 1a830f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a791af5 - Browse repository at this point
Copy the full SHA a791af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c90b017 - Browse repository at this point
Copy the full SHA c90b017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e311d3 - Browse repository at this point
Copy the full SHA 7e311d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf5acb - Browse repository at this point
Copy the full SHA ebf5acbView commit details -
Update: add options and resource policy handling
* Options for `docker compose` * `ModDir` as special value that designates module's root directory use with `WithProjectDir` * User can specify Docker Compose config files by relative path from module directory * Design resource policy of `Compose` * Remove resources created by `ComposeProject` itself * Do not remove resources created by other process * Add `compose.ScalePolicy` * Follow `ResourcePolicy`
Configuration menu - View commit details
-
Copy full SHA for b24ed97 - Browse repository at this point
Copy the full SHA b24ed97View commit details -
Update: use
ScalingPolicy
as project scope constraints* If user needs consistency about scaling of service, use `WithScalingPolicies` like below: ``` confort.Compose(ctx, "compose.yaml", confort.WithScalingPolicies(map[string]compose.ScalingPolicy{ "serviceA": compose.ScalingPolicyScalable, // It's default value, allows service to scale out. "serviceB": compose.ScalingPolicyConsistent, // Prohibit service from scaling out. })) ```
Configuration menu - View commit details
-
Copy full SHA for 06a4b4a - Browse repository at this point
Copy the full SHA 06a4b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eccff30 - Browse repository at this point
Copy the full SHA eccff30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17cb24f - Browse repository at this point
Copy the full SHA 17cb24fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b96f72 - Browse repository at this point
Copy the full SHA 6b96f72View commit details -
Update confort: fix test
TestComposeBackend_Load
* Compare configuration used for calling Docker Compose CLI with golden files
Configuration menu - View commit details
-
Copy full SHA for 1b56a8d - Browse repository at this point
Copy the full SHA 1b56a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 899dd58 - Browse repository at this point
Copy the full SHA 899dd58View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.