mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
fb5e9e1d77
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude <noreply@anthropic.com>
29 lines
1.4 KiB
Bash
29 lines
1.4 KiB
Bash
# Basic Memory Environment Variables Example
|
|
# Copy this file to .env and customize as needed
|
|
# Note: .env files are gitignored and should never be committed
|
|
|
|
# ============================================================================
|
|
# PostgreSQL Test Database Configuration
|
|
# ============================================================================
|
|
# These variables allow you to override the default test database credentials
|
|
# Default values match docker-compose-postgres.yml for local development
|
|
#
|
|
# Only needed if you want to use different credentials or a remote test database
|
|
# By default, tests use: postgresql://basic_memory_user:dev_password@localhost:5433/basic_memory_test
|
|
|
|
# Full PostgreSQL test database URL (used by tests and migrations)
|
|
# POSTGRES_TEST_URL=postgresql+asyncpg://basic_memory_user:dev_password@localhost:5433/basic_memory_test
|
|
|
|
# Individual components (used by justfile postgres-reset command)
|
|
# POSTGRES_USER=basic_memory_user
|
|
# POSTGRES_TEST_DB=basic_memory_test
|
|
|
|
# ============================================================================
|
|
# Production Database Configuration
|
|
# ============================================================================
|
|
# For production use, set these in your deployment environment
|
|
# DO NOT use the test credentials above in production!
|
|
|
|
# BASIC_MEMORY_DATABASE_BACKEND=postgres # or "sqlite"
|
|
# BASIC_MEMORY_DATABASE_URL=postgresql+asyncpg://user:password@host:port/database
|