version: "3.5" services: langfuse-server: image: ghcr.io/langfuse/langfuse:latest ## Want to build image from source? Uncomment the following lines and comment out the image line above # build: # dockerfile: Dockerfile # args: # - DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres # - NEXTAUTH_SECRET=mysecret # - NEXTAUTH_URL=http:localhost:3000 depends_on: - db ports: - "3000:3000" environment: - NODE_ENV=production - DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres - DIRECT_URL=postgresql://postgres:postgres@db:5432/postgres - NEXTAUTH_SECRET=mysecret - NEXTAUTH_URL=http:localhost:3000 db: image: postgres restart: always environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DB=postgres ports: - 5432:5432 volumes: - database_data:/var/lib/postgresql/data volumes: database_data: driver: local