dave
daveโ€ข7mo ago

I am only running one container.

I am only running one container.
12 Replies
bgelb-code
bgelb-codeโ€ข7mo ago
Containers can have more than one image. And you are running a postgres image in addition to the app when you run docker-compose. But I'm actually still wrong because you're not touching the image in workers.
dave
daveโ€ข7mo ago
I'm running postgres elsewhere (Google Cloud SQL) also, I've never seen anyone ever run multiple images in a single container I think you might be confusing multi-stage builds?
bgelb-code
bgelb-codeโ€ข7mo ago
Maybe I'm not a docker expert. https://github.com/langfuse/langfuse/blob/main/docker-compose.yml Is this considered a multi-stage build or more than image per container?
GitHub
langfuse/docker-compose.yml at main ยท langfuse/langfuse
๐Ÿชข Open source LLM engineering platform. Observability, metrics, evals, prompt management ๐ŸŠYC W23 ๐Ÿค– SDKs + integrations for Typescript, Python, OpenAI, Langchain, LlamaIndex, Litellm - langfuse/lang...
dave
daveโ€ข7mo ago
docker compose is spinning up multiple containers
KingPin
KingPinโ€ข7mo ago
thats multiple images in multiple containers orchestrated by compose
dave
daveโ€ข7mo ago
technically you can shove two images into the same namespaces, except for the filesystem namespace, and in theory that "should" work, but yeah I've never seen anyone do that in real life. Definitely not supported for anyone sane ๐Ÿ˜›
bgelb-code
bgelb-codeโ€ข7mo ago
Aight thanks for the clarification, I will live to not misinform another day
KingPin
KingPinโ€ข7mo ago
everyone gotta start somewhere ๐Ÿ˜ my first day on langfuse/analytics for AI/LLMs so I know nothing of it yet ๐Ÿ™‚
dave
daveโ€ข7mo ago
haha all good, I have about 6 years of experience researching sandboxing and containers in general. ask me about an obscure Linux security thing, I probably know about it ๐Ÿ˜›
KingPin
KingPinโ€ข7mo ago
Similar, started with lxc, openvz etc. Jumped to the docker bandwagon a while back. Now I'm 99% containers and ansible.
dave
daveโ€ข7mo ago
Nice! My experience is also in bypassing/breaking sandboxing too.
Marc
Marcโ€ข7mo ago
Clarification, currently you only need one container to use Langfuse. We'll introduce additional containers in the next major release for increased scalability and background tasks. I'll write a small summary of what's next for langfuse soon