Spaces:
Paused
Paused
# Use the official Langfuse image | |
FROM langfuse/langfuse:2 | |
# Set environment variables for a minimal, ephemeral setup | |
ENV DATABASE_URL=postgresql://postgres:postgres@localhost:5432/langfuse | |
ENV NEXTAUTH_SECRET=your_random_secret_here | |
ENV SALT=your_random_salt_here | |
ENV NEXTAUTH_URL=https://chris4k-langfuse.hf.space | |
ENV HOSTNAME=0.0.0.0 | |
ENV PORT=7860 | |
# Use an in-memory SQLite database for HF Spaces | |
# Note: This is not recommended for production, only for demonstration | |
ENV DATABASE_TYPE=sqlite | |
# Disable signup if needed | |
ENV AUTH_DISABLE_SIGNUP=true | |
# Expose the default Hugging Face Spaces port | |
EXPOSE 7860 | |
# The default CMD from the Langfuse image should work |