-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
66 lines (47 loc) · 2.38 KB
/
Copy path.env.example
File metadata and controls
66 lines (47 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# =============================================================================
# BAP Onest Lite - Environment Variables Template
# =============================================================================
# Copy this file to .env and update values as needed.
# Do not commit this file with actual secrets to version control.
# =============================================================================
# -----------------------------------------------------------------------------
# Application Configuration
# -----------------------------------------------------------------------------
# Application port (external port exposed by docker-compose)
APP_PORT=3008
# Application environment
# Common values: local, dev, prod
APP_ENV=local
# Path to the YAML config file
# Use config/local.yaml, config/dev.yaml, or config/prod.yaml
CONFIG_FILE=config/local.yaml
# -----------------------------------------------------------------------------
# PostgreSQL Database Configuration
# -----------------------------------------------------------------------------
# Postgres username
POSTGRES_USER=db_user
# Postgres password
POSTGRES_PASSWORD=db_pass
# Postgres database name
POSTGRES_DB=bap_onest_lite
# Postgres port (external port exposed by docker-compose)
POSTGRES_PORT=5432
# -----------------------------------------------------------------------------
# Redis Configuration
# -----------------------------------------------------------------------------
# Redis port (external port exposed by docker-compose)
REDIS_PORT=6379
# -----------------------------------------------------------------------------
# Database Connection String
# -----------------------------------------------------------------------------
# Full PostgreSQL connection string
# Format: postgres://<user>:<password>@<host>:<port>/<database>
# Note: Special characters in password must be URL-encoded (e.g., @ = %40)
# Example: postgres://user:p%40ssword@localhost:5432/mydb
DATABASE_URL=postgres://db_user:db_pass@localhost:5432/db_name
# -----------------------------------------------------------------------------
# Optional: FAISS Vector Search (for local development)
# -----------------------------------------------------------------------------
# Uncomment these if building FAISS from source on macOS
# export LIBRARY_PATH="/opt/homebrew/lib:$LIBRARY_PATH"
# export DYLD_LIBRARY_PATH="/opt/homebrew/lib:$DYLD_LIBRARY_PATH"