处理docker被禁用,配置国内源:
sudo tee /etc/docker/daemon.json <<-‘EOF’
{
“registry-mirrors”: [
“https://do.nark.eu.org”,
“https://dc.j8.work”,
“https://docker.m.daocloud.io”,
“https://dockerproxy.com”,
“https://docker.mirrors.ustc.edu.cn”,
“https://docker.nju.edu.cn”
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
下载部署
git clone https://github.com/langfuse/langfuse.git
cd langfuse
修改必要的配置参数:
docker-compose.yml
.env
docker-compose up
访问langfuse,配置key, 调用记录
详情如下: