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

Automatic start of docker compose services #87

Closed
profy12 opened this issue May 21, 2024 · 6 comments · Fixed by #99
Closed

Automatic start of docker compose services #87

profy12 opened this issue May 21, 2024 · 6 comments · Fixed by #99
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@profy12
Copy link
Contributor

profy12 commented May 21, 2024

UX test with student show it's better to automatic start every services in the docker compose.

After the initial setup, student will have to only start Docker Desktop every Day (nothink to do with Docker engine).

@profy12 profy12 added the enhancement New feature or request label May 21, 2024
@profy12 profy12 self-assigned this May 21, 2024
@profy12
Copy link
Contributor Author

profy12 commented May 24, 2024

we can also find a way to avoid to run docker compose up in a terminal.

@clementgineste
Copy link
Contributor

clementgineste commented May 24, 2024

As I've seen with Docker Desktop, it starts automatically when DD is launched. We just need to check and adapt things like restart : always
Documentation https://docs.docker.com/config/containers/start-containers-automatically/

@clementgineste
Copy link
Contributor

Just launched DD:

image

@clementgineste
Copy link
Contributor

According to the documentation always is the only setting which autostart containers after bringing back docker runtime (here tested with docker desktop) :

image

commit/compare : main...feat/autostart-dockerdesktop

We may need to find a workaround for the auto config container.

Another solution could be to use labels & autoheal service.

@profy12
Copy link
Contributor Author

profy12 commented May 24, 2024

indeed, teleporter-templating-config should be sometimes restarted bye not always. The auto heal can be a soluce, or another scheduler containers, somethink simular to a rundeck container but simpler.

@clementgineste clementgineste modified the milestone: v1 May 28, 2024
@clementgineste clementgineste linked a pull request May 31, 2024 that will close this issue
@clementgineste
Copy link
Contributor

It's done here with #99 right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants