FAST Jo
FAST Jo9mo ago

Self host without docker

Hey guys, I'm planning to deploy langfuse on a machine where I can't install a docker. Is there a way to run your application without a docker?
4 Replies
Max
Max9mo ago
Where do you want to host? Our server is basically a nextjs application. Did you try to run it as a node.js server? (https://nextjs.org/docs/pages/building-your-application/deploying#nodejs-server)
Building Your Application: Deploying | Next.js
Learn how to deploy your Next.js app to production, either managed or self-hosted.
Marc
Marc9mo ago
quick howto
git clone git@github.com:langfuse/langfuse.git
cd langfuse
npm i
cp .env.local.example .env
git clone git@github.com:langfuse/langfuse.git
cd langfuse
npm i
cp .env.local.example .env
Edit the .env, you need a running postgres (easiest to run it in docker though or use a managed provider)
npm run build
node .next/standalone/server.js
npm run build
node .next/standalone/server.js
FAST Jo
FAST Jo9mo ago
No I haven't tried anything in this regard yet. I was very happy with the docker deployment but I'm in discussion with our hardware guys about how to deploy it on the machine we have in mind. It will be basicly a gentoo server with some other software running on it. With the quick how to I can see how it might work without docker. Thanks a lot!
Max
Max9mo ago
Ok, awesome. Alternatively, marcs message from above would help you to get the node server running without Docker.