Skip to content

monk-io/monk-langfuse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

monk-langfuse

This repository contains Monk.io template to deploy langfuse(https://github.com/langfuse/langfuse).

Prerequisites

  • Install Monk
  • Register and Login Monk
  • Add Cloud Provider

Clone Repository

git clone https://github.com/monk-io/monk-langfuse

Make public

    langfuse:
      container: langfuse
      port: <- `${port}`
      protocol: tcp
      host-port: <- `${port}`
      # publish: true  <-- uncomment here or setup frontend proxy

Load Template

cd monk-langfuse
monk load MANIFEST

Deploy

 ./monk run langfuse/stack                
? Select tag to run [local/langfuse/stack] on: prod
✔ Starting the run job: local/langfuse/stack... DONE
✔ Preparing nodes DONE
✔ Checking/pulling images...
✔ [================================================] 100% ghcr.io/langfuse/langfuse:latest sergtest8
✔ [================================================] 100% postgres:latest sergtest8
✔ Checking/pulling images DONE
✔ Starting containers DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/database connections graph updating DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/database connections graph has been updated DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/database services initialization DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/database services have been initialized DONE
✔ Host ports have been added to container 7449b0129bea488c9f6ec8b2a61b5ab3-chain-database-postgres DONE
✔ New container 7449b0129bea488c9f6ec8b2a61b5ab3-chain-database-postgres created DONE
✔ Container 7449b0129bea488c9f6ec8b2a61b5ab3-chain-database-postgres network has been configured DONE
✔ Container 7449b0129bea488c9f6ec8b2a61b5ab3-chain-database-postgres has been started DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/server connections graph updating DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/server connections graph has been updated DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/server services initialization DONE
✔ Runnable templates/local/langfuse/stack/runnables/templates/local/langfuse/server services have been initialized DONE
✔ Host ports have been added to container ca8bf2d94fc5ae16695f2a847b49df0b-ngchain-server-langfuse DONE
✔ New container ca8bf2d94fc5ae16695f2a847b49df0b-ngchain-server-langfuse created DONE
✔ Container ca8bf2d94fc5ae16695f2a847b49df0b-ngchain-server-langfuse network has been configured DONE
✔ Container ca8bf2d94fc5ae16695f2a847b49df0b-ngchain-server-langfuse has been started DONE
✔ Started local/langfuse/stack
🔩 templates/local/langfuse/stack
 └─🧊 Peer sergtest8
    ├─🔩 templates/local/langfuse/database 
    │  └─📦 7449b0129bea488c9f6ec8b2a61b5ab3-chain-database-postgres running
    │     ├─🧩 postgres:latest                                                
    │     └─💾 /var/lib/monkd/volumes/langfuse/postgresql -> /var/lib/postgresql/data
    └─🔩 templates/local/langfuse/server   
       └─📦 ca8bf2d94fc5ae16695f2a847b49df0b-ngchain-server-langfuse running
          ├─🧩 ghcr.io/langfuse/langfuse:latest
          └─🔌 open (public) 34.83.241.24:3000 -> 3000

💡 You can inspect and manage your above stack with these commands:
        monk logs (-f) local/langfuse/stack - Inspect logs
        monk shell     local/langfuse/stack - Connect to the container's shell
        monk do        local/langfuse/stack/action_name - Run defined action (if exists)
💡 Check monk help for more!

Check health

curl http://34.83.241.24:3000/api/public/health

Variables

You could check list of variables here: https://langfuse.com/docs/deployment/self-host#configuring-environment-variables

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published