# When adding additional environment variables, the schema in "/src/env.mjs" # should be updated accordingly. # Prisma # https://www.prisma.io/docs/reference/database-reference/connection-urls#env DIRECT_URL="postgresql://postgres:postgres@localhost:5432/postgres" DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres" # Clickhouse CLICKHOUSE_MIGRATION_URL="clickhouse://localhost:9000" CLICKHOUSE_URL="http://localhost:8123" CLICKHOUSE_USER="clickhouse" CLICKHOUSE_PASSWORD="clickhouse" CLICKHOUSE_CLUSTER_ENABLED="false" # Next Auth # You can generate a new secret on the command line with: # openssl rand -base64 32 # https://next-auth.js.org/configuration/options#secret # NEXTAUTH_SECRET="" NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="secret" # Langfuse Cloud Environment NEXT_PUBLIC_LANGFUSE_CLOUD_REGION="DEV" # Langfuse experimental features LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES="true" # Salt for API key hashing SALT="salt" # Email EMAIL_FROM_ADDRESS="" # Defines the email address to use as the from address. SMTP_CONNECTION_URL="" # Defines the connection url for smtp server. # DON'T PANIC: The Azurite Secrets are well-known and meant to be hard-coded # S3 Batch Exports LANGFUSE_S3_BATCH_EXPORT_ENABLED=true LANGFUSE_S3_BATCH_EXPORT_BUCKET=langfuse LANGFUSE_S3_BATCH_EXPORT_ACCESS_KEY_ID=devstoreaccount1 LANGFUSE_S3_BATCH_EXPORT_SECRET_ACCESS_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw== LANGFUSE_S3_BATCH_EXPORT_REGION=auto LANGFUSE_S3_BATCH_EXPORT_ENDPOINT=http://localhost:10000/devstoreaccount1 ## Necessary for minio compatibility LANGFUSE_S3_BATCH_EXPORT_FORCE_PATH_STYLE=true LANGFUSE_S3_BATCH_EXPORT_PREFIX=exports/ # S3 Media Upload LOCAL LANGFUSE_S3_MEDIA_UPLOAD_BUCKET=langfuse LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID=devstoreaccount1 LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw== LANGFUSE_S3_MEDIA_UPLOAD_REGION=auto LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT=http://localhost:10000/devstoreaccount1 ## Necessary for minio compatibility LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE=true LANGFUSE_S3_MEDIA_UPLOAD_PREFIX=media/ # S3 Event Bucket Upload ## Set to true to test uploading all events to S3 LANGFUSE_S3_EVENT_UPLOAD_BUCKET=langfuse LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID=devstoreaccount1 LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw== LANGFUSE_S3_EVENT_UPLOAD_REGION=auto LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT=http://localhost:10000/devstoreaccount1 ## Necessary for minio compatibility LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE=true LANGFUSE_S3_EVENT_UPLOAD_PREFIX=events/ LANGFUSE_USE_AZURE_BLOB=true LANGFUSE_AZURE_SKIP_CONTAINER_CHECK=false # Set during docker build of application # Used to disable environment verification at build time # DOCKER_BUILD=1 REDIS_HOST="127.0.0.1" REDIS_PORT=6379 REDIS_AUTH="myredissecret" # openssl rand -hex 32 used only here ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000 # speeds up local development by not executing init scripts on server startup NEXT_PUBLIC_LANGFUSE_RUN_NEXT_INIT="false"