Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Add docker tcp support #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Shelnutt2
Copy link
Contributor

This add the ability to specify the docker url, in order to support tcp connections. This is useful when combining gantry with docker swarm.

@@ -57,14 +57,19 @@ def run():
parser.add_argument('action', help='The action to perform', choices=ACTIONS.keys())
parser.add_argument('component_name', help='The name of the component to manage')
parser.add_argument('-m', dest='monitor', action='store_true', help='If specified and the action is "start" or "update", gantry will remain running to monitor components, auto restarting them as necessary')
parser.add_argument('--setconfig', dest='config_overrides', action='append', help='Configuration overrides for the component')
parser.add_argument('-o-setconfig', dest='config_overrides', action='append', help='Configuration overrides for the component')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the change of --setconfig?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a typo, it's been removed.

@josephschorr
Copy link
Contributor

@Shelnutt2: Should I re-review this?

@Shelnutt2
Copy link
Contributor Author

@josephschorr Yes this is ready for re-review.

if client is None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a TODO to have this all moved into a class, as a global is a bit hacky

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants