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

[QUESTION] Why are the werbserver and database containers set to run when host machine boots? #268

Open
govarthenan opened this issue Feb 16, 2024 · 3 comments

Comments

@govarthenan
Copy link
Contributor

In the docker-compose.yaml, the two aforementioned containers are configured restart: "always". This makes both of those containers to compose and start automatically after my laptop boots.

Is this the intended behavior? If yes/no please explain why it was configured in such a way.

@tinodesigns
Copy link

I personally like ti that way, I have it on a homeserver and want it to be reachable all the time in my network. Also this could be easily changed, no?

@govarthenan
Copy link
Contributor Author

@tinodesigns I understand why one might want those containers to autostart.

Do you have any idea how to stop this autostarting behavior? Because the last time I set restart: "unless-stopped", the stack seemed to crash for some reason.

@tinodesigns
Copy link

@govarthenan sorry I'dn't know that. I'm a bit new to docker myself. May be someone else can help here?

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

2 participants