Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Data container is not running #185

Open
dzentota opened this issue Nov 1, 2015 · 6 comments
Open

Data container is not running #185

dzentota opened this issue Nov 1, 2015 · 6 comments
Labels

Comments

@dzentota
Copy link

dzentota commented Nov 1, 2015

By convention: all containers SHOULD keep running, eg. data-containers with tail -f /dev/null

Does it mean that in docker-compose.yml command /bin/bash should be replaced with tail -f /dev/null ?

@schmunk42
Copy link
Member

Isn't this this still under discussion?

We had the setting you mentioned and ran into problems with logspout containers.
We got an error about Too many open files, since the data only container opened so many pointers - I guess.
At least that was our explanation and the error was gone after letting the container exit with status 0.

Do you use a tool which requires all containers in a stack to be running?

@schmunk42
Copy link
Member

By the way ... we're working on a setup without any data containers at all ;)

@philippfrenzel
Copy link
Contributor

so how about a datacontainer for elastic search e.g. because that could be integrated "easy" ;)

@Quexer69
Copy link
Contributor

Quexer69 commented Nov 2, 2015

ATM, just fire tail -f /dev/null for this container...?

Your decision if you need to keep them up and running :)

@dzentota
Copy link
Author

dzentota commented Nov 2, 2015

just confused with https://github.com/phundament/app/blob/master/docs/advanced/61-coding-conventions.md

also in stacks-gen/*.yml command: 'tail -f /dev/null' but in docker-compose.yml command: '/bin/bash'

@schmunk42
Copy link
Member

We still need to update the docs, but I just wanted to let you know that we've removed the data-container and have a much simpler setup now, see https://github.com/phundament/app/blob/master/docker-compose.yml

@schmunk42 schmunk42 added the docs label Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants