Skip to content
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

Starling CLI deploy single containers + networks #8

Open
mhl787156 opened this issue Mar 29, 2022 · 0 comments
Open

Starling CLI deploy single containers + networks #8

mhl787156 opened this issue Mar 29, 2022 · 0 comments

Comments

@mhl787156
Copy link
Member

Starling CLI currently runs docker-compose files using the deploy command with the file given by -f. This will cause the docker-compose to run as default with the default specified network, and run in the terminal.

This should be enhanced by

  • Running Docker-compose in daemon mode (with some method of getting hold of logs, and killing the currently active docker-compose instance). Assumption that only one docker-compose file will be running at any one time
  • The bridge network should be set manually by the user (perhaps override default network) and fixed.

These two will allow the deployment of single container instances e.g. the users controllers. This should wrap up a docker run --network=<our_default> -it --rm ... call by default. e.g. something like

starling deploy myrepo/my_controller
# or to add explicit docker run arguments
starling deploy myrepo/my_controller --run_args -itd --name my_controller

if a container is given with no -f flag, can treat as running a particular container.

In the future this can also service as the dynamic deployment of a container if a kubecluster is available.

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

1 participant