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

Container control buttons #649

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

Conversation

mizady
Copy link

@mizady mizady commented Oct 28, 2024

⚠️⚠️⚠️ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/dockge/blob/master/CONTRIBUTING.md

Tick the checkbox if you understand [x]:

  • I have read and understand the pull request rules.

Description

New Feature - Control of individual containers for starting, stopping, and restarting.

Fixes #(issue)
Fixes having to restart or stop and start the entire stack when you just want to do one container

Type of change

  • User interface (UI)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update (only to change a screenshot so the service buttons are shown)

Checklist

  • My code follows the style guidelines of this project
  • I ran ESLint and other linters for modified files (I didn't run it but the minor modifications kept to already used patterns and practices)
  • I have performed a self-review of my own code and tested it
  • I have commented my code, particularly in hard-to-understand areas
    (including JSDoc for methods)
  • My changes generate no new warnings
  • My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)

Screenshot 2024-10-28 091747
Screenshot 2024-10-28 091922

Added start and stop service buttons for each service in a stack by changes to the container and compose components as well as the socket handler and the stack class.
added restart service/container button as well as fixed start/stop buttons for correct statuses of healthy/unhealthy
@mizady
Copy link
Author

mizady commented Oct 28, 2024

I didn't have any of the errors coming up in the checks when i built it or when i ran the built docker container on my end. Most all of those errors appear to be code I did not modify so I'm not sure if that is relevant to these modifications.

swapped to double quotes from singles on service functions
@Chathula
Copy link

Waiting for this!

@Chathula
Copy link

Chathula commented Nov 14, 2024

@louislam why we don't merge this pr?

@xHyperElectric
Copy link

@louislam please merge this, this feature is the only feature I think is missing from dockge

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

Successfully merging this pull request may close these issues.

3 participants